/* Announcement Modal Styles */
.announcement-modal {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.2);
}

.btn-close-announcement {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-close-announcement i {
    font-size: 24px;
    color: #0071ac;
}

.btn-close-announcement:hover {
    background: #0071ac;
    transform: rotate(90deg);
}

.btn-close-announcement:hover i {
    color: #ffffff;
}

.announcement-image {
    height: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #0071ac, #0088cc);
    position: relative;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcement-content {
    padding: 50px 40px;
    text-align: center;
}

.announcement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0071ac, #0088cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(0, 113, 172, 0.3);
    animation: pulse 2s infinite;
}

.announcement-icon i {
    font-size: 40px;
    color: #ffffff;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0, 113, 172, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 113, 172, 0.4);
    }
}

.announcement-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.announcement-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #0071ac;
    margin-bottom: 25px;
}

.announcement-text {
    background: linear-gradient(135deg, rgba(0, 113, 172, 0.05), rgba(0, 136, 204, 0.05));
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 113, 172, 0.1);
}

.announcement-text p {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

.announcement-period {
    font-size: 16px;
    color: #666;
    margin-top: 10px !important;
}

.btn-login-qid {
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 113, 172, 0.3);
    cursor: pointer;
}

.btn-login-qid:hover {
    background: linear-gradient(135deg, #005a8a, #0071ac);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 113, 172, 0.4);
}

.btn-login-qid i:first-child {
    font-size: 22px;
}

.btn-login-qid i:last-child {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-login-qid:hover i:last-child {
    transform: translateX(5px);
}

/* QID Login Modal Styles */
.qid-login-modal {
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.2);
    overflow: hidden;
}

.btn-close-login {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-close-login i {
    font-size: 24px;
    color: #0071ac;
}

.btn-close-login:hover {
    background: #0071ac;
    transform: rotate(90deg);
}

.btn-close-login:hover i {
    color: #ffffff;
}

.login-image {
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000000;
}

.login-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.login-overlay {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    color: #ffffff;
    text-align: center;
    z-index: 3;
}

.login-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.login-icon-wrapper i {
    font-size: 50px;
    color: #ffffff;
}

.login-overlay h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-overlay p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.qid-login-content {
    padding: 50px 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 15px;
}

.qid-form .form-group {
    margin-bottom: 25px;
}

.qid-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.qid-form label i {
    font-size: 20px;
    color: #0071ac;
}

.qid-form .form-control {
    padding: 16px 24px;
    border: 2px solid rgba(0, 113, 172, 0.2);
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.qid-form .form-control:focus {
    border-color: #0071ac;
    box-shadow: 0 0 0 4px rgba(0, 113, 172, 0.1);
    outline: none;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    margin-left: 24px;
    display: block;
}

.btn-verify {
    width: 100%;
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 113, 172, 0.3);
    cursor: pointer;
    margin-top: 10px;
}

.btn-verify:hover {
    background: linear-gradient(135deg, #005a8a, #0071ac);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 113, 172, 0.4);
}

.btn-verify i {
    font-size: 22px;
}

/* Thank You Modal Styles */
.thank-you-modal {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.2);
}

.btn-close-thankyou {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-close-thankyou i {
    font-size: 24px;
    color: #0071ac;
}

.btn-close-thankyou:hover {
    background: #0071ac;
    transform: rotate(90deg);
}

.btn-close-thankyou:hover i {
    color: #ffffff;
}

.thank-you-content {
    padding: 60px 40px;
    text-align: center;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.thank-you-icon i {
    font-size: 60px;
    color: #ffffff;
}

.thank-you-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.thank-you-message {
    color: #0071ac;
    font-weight: 600;
}

.btn-close-modal {
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 113, 172, 0.3);
    cursor: pointer;
    margin-top: 20px;
}

.btn-close-modal:hover {
    background: linear-gradient(135deg, #005a8a, #0071ac);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 113, 172, 0.4);
}

/* Full Image Announcement Modal Styles */
.image-announcement-modal {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 113, 172, 0.2);
}

.btn-close-image-announcement {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-close-image-announcement i {
    font-size: 24px;
    color: #0071ac;
}

.btn-close-image-announcement:hover {
    background: #ffffff;
    transform: rotate(90deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.image-announcement-content {
    position: relative;
    width: 100%;
}

.full-width-announcement-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.announcement-action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    text-align: center;
}

.btn-announcement-action {
    background: linear-gradient(135deg, #0071ac, #0088cc);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 113, 172, 0.3);
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

.btn-announcement-action:hover {
    background: linear-gradient(135deg, #005a8a, #0071ac);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 113, 172, 0.4);
}

.btn-announcement-action i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-announcement-action:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 767px) {
    .announcement-image {
        min-height: 300px;
    }

    .announcement-content {
        padding: 40px 25px;
    }

    .announcement-content h2 {
        font-size: 26px;
    }

    .announcement-text p {
        font-size: 18px;
    }

    .thank-you-content {
        padding: 40px 25px;
    }

    .thank-you-content h2 {
        font-size: 26px;
    }

    .image-announcement-modal {
        border-radius: 16px;
    }

    .announcement-action-overlay {
        padding: 25px 20px;
    }

    .btn-announcement-action {
        width: 100%;
        max-width: 100%;
        padding: 14px 28px;
        font-size: 15px;
    }
}
