/* Citizen Submit Report Styles */

.citizen-navbar {
    position: relative;
}

.submit-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
    padding: 3rem 2rem 4rem;
    min-height: 100vh;
}

.submit-container {
    max-width: 700px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.page-header h1 {
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #7a8a99;
    font-size: 1.1rem;
}

/* Form Card */
.form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.08);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e5e9ed;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e3a5f;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a6b8a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0bac4;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f0f4f8;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #c89860 100%);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c89860 0%, #b88850 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: #e5e9ed;
    color: #1e3a5f;
}

.btn-secondary:hover {
    background: #d5dce3;
}

/* Footer spacing */
.footer {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .submit-hero {
        padding: 2rem 1rem 3rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .page-header {
        padding-top: 0.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


/* Tracking Number Modal */
.tracking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 95, 0.95);
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.tracking-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 25px;
    padding: 2rem 1.5rem;
    max-width: 550px;
    width: 100%;
    height: auto;
    max-height: fit-content;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.5s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-content h2 {
    color: #1e3a5f;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.modal-content > p {
    color: #7a8a99;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.tracking-number-display {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    border-radius: 15px;
    padding: 1.2rem 1rem;
    margin-bottom: 1.2rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.3);
}

.tracking-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
}

.tracking-number {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    word-break: break-all;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.tracking-hidden {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.modal-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #0a2647 100%);
    color: #ffffff;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #1565c0 0%, #082038 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.modal-btn-secondary {
    background: #f5f7fa;
    color: #1e3a5f;
    border: 2px solid #e5e9ed;
}

.modal-btn-secondary:hover {
    background: #e8f0f7;
    border-color: #1976d2;
    transform: translateY(-2px);
}

.modal-footer {
    display: flex;
    gap: 0.8rem;
}

.modal-footer button {
    flex: 1;
}

.btn-track {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: #ffffff;
}

.btn-track:hover {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-close {
    background: #f5f7fa;
    color: #1e3a5f;
    border: 2px solid #e5e9ed;
}

.btn-close:hover {
    background: #e8f0f7;
    border-color: #1976d2;
    transform: translateY(-2px);
}

.modal-note {
    color: #7a8a99;
    font-size: 0.8rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 2px solid #e5e9ed;
    line-height: 1.5;
}

.modal-note strong {
    color: #d32f2f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tracking-modal {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1.5rem 1.2rem;
        max-height: 90vh;
        border-radius: 20px;
        margin: 1rem auto;
    }

    .modal-icon {
        width: 55px;
        height: 55px;
    }

    .modal-icon svg {
        width: 28px;
        height: 28px;
    }

    .modal-content h2 {
        font-size: 1.4rem;
    }

    .modal-content > p {
        font-size: 0.9rem;
    }

    .tracking-number-display {
        padding: 1rem 0.8rem;
    }

    .tracking-label {
        font-size: 0.75rem;
    }

    .tracking-number {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .tracking-hidden {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 0.6rem;
    }

    .modal-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .modal-note {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.2rem 1rem;
        margin: 0.5rem auto;
    }

    .modal-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .modal-icon svg {
        width: 26px;
        height: 26px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .modal-content > p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .tracking-number-display {
        padding: 0.9rem 0.7rem;
        margin-bottom: 1rem;
    }

    .tracking-number {
        font-size: 1.1rem;
    }

    .tracking-hidden {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .modal-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }

    .modal-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-height: 700px) {
    .modal-content {
        padding: 1.2rem 1.2rem;
        margin: 1rem auto;
    }

    .modal-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .modal-icon svg {
        width: 26px;
        height: 26px;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .modal-content > p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .tracking-number-display {
        padding: 0.9rem;
        margin-bottom: 1rem;
    }

    .tracking-number {
        font-size: 1.3rem;
    }

    .tracking-hidden {
        font-size: 1.3rem;
    }

    .modal-actions {
        margin-bottom: 1rem;
    }

    .modal-note {
        margin-top: 1rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-height: 600px) {
    .modal-content {
        padding: 1rem;
        margin: 0.5rem auto;
        max-height: 95vh;
    }

    .modal-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.6rem;
    }

    .modal-icon svg {
        width: 24px;
        height: 24px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .modal-content > p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .tracking-number-display {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .tracking-label {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .tracking-number {
        font-size: 1.1rem;
    }

    .tracking-hidden {
        font-size: 1.1rem;
    }

    .modal-actions {
        margin-bottom: 0.8rem;
        gap: 0.5rem;
    }

    .modal-footer {
        gap: 0.5rem;
    }

    .modal-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .modal-note {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        font-size: 0.7rem;
    }
}


/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border: 2px dashed #b0bac4;
    border-radius: 10px;
    background: #f8f9fb;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-wrapper:hover .file-upload-info {
    border-color: #4a6b8a;
    background: #f0f4f8;
}

.file-upload-info svg {
    color: #4a6b8a;
    margin-bottom: 0.8rem;
}

.file-upload-text {
    color: #7a8a99;
    font-size: 0.9rem;
    line-height: 1.5;
}

.file-name {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: none;
}

.file-name.active {
    display: block;
}

.form-note {
    display: block;
    color: #7a8a99;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Data Privacy Consent Section */
.privacy-consent-section {
    background: #f8f9fb;
    border: 2px solid #e5e9ed;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.privacy-consent-wrapper {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

/* Custom scrollbar for privacy content */
.privacy-consent-wrapper::-webkit-scrollbar {
    width: 8px;
}

.privacy-consent-wrapper::-webkit-scrollbar-track {
    background: #e5e9ed;
    border-radius: 4px;
}

.privacy-consent-wrapper::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 4px;
}

.privacy-consent-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

.privacy-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e9ed;
}

.privacy-header svg {
    color: #1976d2;
    flex-shrink: 0;
}

.privacy-header h3 {
    color: #1e3a5f;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.privacy-content {
    color: #1e3a5f;
    font-size: 0.9rem;
    line-height: 1.7;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content strong {
    color: #1e3a5f;
    font-weight: 700;
}

.privacy-details {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.privacy-details h4 {
    color: #1976d2;
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.8rem 0;
}

.privacy-details h4:first-child {
    margin-top: 0;
}

.privacy-details ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.privacy-details li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border: 2px solid #e5e9ed;
    transition: all 0.3s ease;
}

.consent-checkbox:hover {
    border-color: #1976d2;
}

.consent-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #1976d2;
}

.consent-checkbox label {
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    cursor: pointer;
}

/* Responsive adjustments for privacy section */
@media (max-width: 768px) {
    .privacy-consent-section {
        padding: 1.5rem;
    }
    
    .privacy-consent-wrapper {
        max-height: 400px;
    }
    
    .privacy-header h3 {
        font-size: 1.1rem;
    }
    
    .privacy-content {
        font-size: 0.85rem;
    }
    
    .privacy-details {
        padding: 1.2rem;
    }
    
    .privacy-details h4 {
        font-size: 0.95rem;
    }
    
    .consent-checkbox {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .consent-checkbox label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .privacy-consent-wrapper {
        max-height: 300px;
    }
    
    .privacy-content {
        font-size: 0.8rem;
    }
    
    .privacy-details {
        padding: 1rem;
    }
    
    .privacy-details h4 {
        font-size: 0.9rem;
    }
}


/* Improved Date and Time Inputs */
input[type="date"],
input[type="time"] {
    position: relative;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Date input specific styling */
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #7f8c8d;
    padding: 0 0.2em;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #2c3e50;
    padding: 0 0.2em;
}

/* Time input specific styling */
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="time"]::-webkit-datetime-edit-text {
    color: #7f8c8d;
    padding: 0 0.2em;
}

input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field,
input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: #2c3e50;
    padding: 0 0.2em;
}

/* Focus states */
input[type="date"]:focus,
input[type="time"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Placeholder-like text for empty date/time inputs */
input[type="date"]:invalid,
input[type="time"]:invalid {
    color: #95a5a6;
}


/* Enhanced Footer with Credits */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-motto {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #e8f4f8;
    font-style: italic;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-credits {
    text-align: center;
}

.credits-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.credits-text .heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.credits-text strong {
    color: #fff;
    font-weight: 600;
}

.credits-text a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.credits-text a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.credits-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.credits-note .year {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-motto {
        font-size: 0.85rem;
    }
    
    .footer-copyright,
    .credits-text {
        font-size: 0.8rem;
    }
    
    .credits-note {
        font-size: 0.75rem;
    }
}


/* OTP Verification Styles */
#otpSection {
    background: #f5f7fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e9ed;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#otpCode {
    background: white;
    border: 2px solid #1976d2;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

#otpCode:focus {
    border-color: #1565c0;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

#otpTimer {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #e5e9ed;
}

.otp-verified {
    background: #e8f5e9 !important;
    border-color: #4caf50 !important;
    padding: 1.5rem;
    text-align: center;
}

.otp-verified svg {
    margin-bottom: 0.5rem;
}

.otp-verified p {
    color: #2e7d32;
    margin: 0.5rem 0 0 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification.success {
    background: #4caf50;
    color: white;
}

.notification.error {
    background: #f44336;
    color: white;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}


/* ===== 2-Page Flow Styles ===== */

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5e9ed;
    color: #7a8a99;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e9ed;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: #fff;
    border-color: #1976d2;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
}

.step.completed .step-circle {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7a8a99;
    transition: color 0.3s;
}

.step.active .step-label {
    color: #1976d2;
}

.step.completed .step-label {
    color: #4caf50;
}

.step-line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #e5e9ed;
    margin: 0 0.5rem;
    margin-bottom: 1.4rem;
}

/* Page 1 - Verify Email card */
.verify-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e9ed;
}

.verify-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    flex-shrink: 0;
}

.verify-header h2 {
    color: #1e3a5f;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
}

.verify-header p {
    color: #7a8a99;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.email-input-row {
    display: flex;
    gap: 10px;
}

.email-input-row input {
    flex: 1;
}

/* OTP actions row */
.otp-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.otp-timer {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #e5e9ed;
    color: #7a8a99;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Verified badge */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e8f5e9;
    border: 2px solid #a5d6a7;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.verified-title {
    color: #2e7d32;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
}

.verified-email {
    color: #388e3c;
    font-size: 0.9rem;
    margin: 0;
    word-break: break-all;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .email-input-row {
        flex-direction: column;
    }

    .verify-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .otp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .otp-timer {
        text-align: center;
    }
}


/* ===== Hero Banner (matches citizen-track style) ===== */

.citizen-navbar {
    background: linear-gradient(135deg, #0a2647 0%, #144272 100%) !important;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    gap: 0.7rem;
}

.portal-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.portal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.submit-hero-banner {
    background: linear-gradient(135deg, #0a2647 0%, #1565c0 100%);
    padding: 2.8rem 2rem 2.4rem;
    position: relative;
    overflow: hidden;
}

.submit-hero-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.submit-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: rgba(255, 167, 38, 0.08);
    border-radius: 50%;
}

.submit-hero-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.submit-hero-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.35);
}

.submit-hero-text h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.submit-hero-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Hide the old plain page-header since the banner replaces it */
.page-header {
    display: none;
}

/* Reduce top padding now that banner handles the title */
.submit-hero {
    padding-top: 2rem;
}

@media (max-width: 600px) {
    .submit-hero-banner {
        padding: 2rem 1.2rem;
    }

    .submit-hero-icon {
        width: 54px;
        height: 54px;
    }

    .submit-hero-text h1 {
        font-size: 1.5rem;
    }

    .submit-hero-text p {
        font-size: 0.9rem;
    }

    .portal-title span {
        display: none;
    }
}
