/* Become Citizen Page Specific Styles */

.citizenship-benefits {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--moon-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.citizenship-benefits .card-body {
    background: rgba(26, 31, 58, 0.95);
}

.citizenship-benefits .card-title {
    color: var(--moon-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.citizenship-benefits ul li {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin-bottom: 1rem;
}

.citizenship-benefits ul li strong {
    color: var(--moon-accent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.citizenship-benefits ul li i {
    color: var(--moon-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.passport-preview img {
    max-height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Modal specific styles for passport */
#passportModal .modal-content {
    background: rgba(26, 31, 58, 0.95);
    border: 1px solid var(--moon-accent);
}

#passportModal .modal-header {
    border-bottom: 1px solid var(--moon-accent);
}

#passportModal .modal-footer {
    border-top: 1px solid var(--moon-accent);
}

#passportModal .modal-body img {
    max-height: 500px;
}

/* Registration form styling */
.registration-form-section {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(26, 31, 58, 0.7);
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.registration-form-section h6 {
    color: var(--moon-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.registration-form-section .form-label {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.registration-form-section .form-control {
    background: rgba(26, 31, 58, 0.9);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.registration-form-section .form-control:focus {
    background: rgba(26, 31, 58, 0.95);
    border-color: var(--moon-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: #ffffff;
}

.registration-form-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.registration-form-section .form-control:valid {
    border-color: rgba(40, 167, 69, 0.6);
    background: rgba(26, 31, 58, 0.95);
}

.registration-form-section .form-control:invalid {
    border-color: rgba(220, 53, 69, 0.6);
}

.registration-form-section .invalid-feedback {
    color: #ff6b6b;
    font-size: 0.875rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.registration-form-section .btn-outline-success {
    border-color: rgba(40, 167, 69, 0.6);
    color: rgba(40, 167, 69, 0.8);
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.registration-form-section .btn-outline-success:hover {
    background: rgba(40, 167, 69, 0.8);
    border-color: rgba(40, 167, 69, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Payment section styling */
.payment-link-section, .qr-code-section {
    padding: 1rem;
    border-radius: 15px;
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

#qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

#qr-code-container canvas {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    background: #ffffff;
    padding: 10px;
}

#qr-code-container img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    background: #ffffff;
    padding: 10px;
}

.qr-fallback-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.btn-outline-primary {
    border-color: var(--moon-accent);
    color: var(--moon-accent);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--moon-accent);
    border-color: var(--moon-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Sidebar Citizenship Benefits styling */
.card .card-body h6.text-primary {
    color: var(--moon-accent) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.card .card-body ul.list-unstyled li {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.card .card-body ul.list-unstyled li i {
    color: var(--moon-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.card .card-body hr {
    border-color: rgba(0, 212, 255, 0.3);
    margin: 1.5rem 0;
}

/* Responsive adjustments for become citizen page */
@media (max-width: 768px) {
    .passport-preview img {
        max-height: 250px;
    }
    
    #passportModal .modal-body img {
        max-height: 400px;
    }
}
