/* Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #009AA6B2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer Container */
.drawer-container {
    position: fixed;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile: Bottom drawer */
@media (max-width: 768px) {
    .drawer-container {
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
    }

    .drawer-container.active {
        transform: translateY(0);
    }
}

/* Desktop/Tablet: Centered modal */
@media (min-width: 769px) {
    .drawer-container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
        max-width: 500px;
        width: 90%;
    }

    .drawer-container.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Drawer Content */
.drawer-content {
    background: white;
    border-radius: var(--rounded-container-radius) var(--rounded-container-radius) 0 0;
    padding: 40px var(--rounded-container-radius);
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 769px) {
    .drawer-content {
        border-radius: var(--rounded-container-radius);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
}

/* Icon */
.drawer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--rounded-container-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text */
.drawer-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: var(--rounded-container-radius);
    line-height: 1.5;
}

.drawer-text {
    text-align: left;
    padding: 0 50px;
}