 .popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.popup-backdrop.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    animation: slideInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-header {
    background: linear-gradient(135deg,  var(--mediclic-blue) 0%, #16a39a 100%);
    padding: 50px 30px 35px;
    text-align: center;
    position: relative;
}

.popup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseIcon 2.5s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1);
    }
}

.popup-icon svg {
    width: 38px;
    height: 38px;
    color: white;
    stroke-width: 2.5;
}

.popup-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0;
}

.popup-content {
    padding: 40px 35px;
}

.popup-confirmation {
    text-align: center;
    margin-bottom: 12px;
}

.popup-confirmation-text {
    font-size: 15px;
    color: #999999;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.popup-main-message {
    text-align: center;
    margin: 18px 0 20px;
}

.popup-main-text {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.5;
}

.popup-description {
    text-align: center;
    margin-bottom: 25px;
}

.popup-description-text {
    font-size: 14px;
    color: #999999;
    margin: 0;
    line-height: 1.6;
}

.popup-time-box {
    background: #e8f8f6;
    border: 1px solid #b3ede8;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 28px;
    text-align: center;
}

.popup-time-text {
    font-size: 14px;
    font-weight: 600;
    color: #1ba89f;
    margin: 0;
}

.popup-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg,  var(--mediclic-blue) 0%, #16a39a 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 168, 159, 0.3);
    letter-spacing: 0.3px;
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27, 168, 159, 0.4);
    background: linear-gradient(135deg, #16a39a 0%,  var(--mediclic-blue) 100%);
}

.popup-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(27, 168, 159, 0.3);
}

.btn-trigger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9998;
    padding: 12px 28px;
    background: linear-gradient(135deg,  var(--mediclic-blue) 0%, #16a39a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 168, 159, 0.3);
    transition: all 0.3s ease;
}

.btn-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 168, 159, 0.4);
}

.btn-trigger:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .popup-container {
        margin: 20px;
    }

    .popup-header {
        padding: 40px 25px 28px;
    }

    .popup-content {
        padding: 30px 25px;
    }

    .popup-title {
        font-size: 24px;
    }

    .popup-main-text {
        font-size: 16px;
    }

    .popup-button {
        padding: 12px 20px;
        font-size: 15px;
    }

    .btn-trigger {
        padding: 10px 20px;
        font-size: 13px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 400px) {
    .popup-title {
        font-size: 22px;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
    }

    .popup-icon svg {
        width: 32px;
        height: 32px;
    }

    .popup-content {
        padding: 25px 20px;
    }
}