html {
    font-size: 12px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 60px;
}



/* ---------------------------
   AUTHENTICATION PAGES
   --------------------------- */

.buhs-auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f2f1 100%);
}

.buhs-auth-card {
      background: var(--buhs-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 95, 90, 0.1);
    padding: 2.5rem;
    border: 1px solid rgba(0, 95, 90, 0.1);


}

@media (min-width: 992px) {
    .buhs-auth-card {
        width: 75%;
        margin: 0 auto;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid var(--buhs-light);
    box-shadow: 0 4px 12px rgba(0, 95, 90, 0.15);
}

.auth-title {
    color: var(--buhs-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--buhs-accent);
    font-size: 1rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--buhs-secondary);
    margin-bottom: 0.5rem;
}

.auth-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.auth-form .input-group-text {
    background-color: var(--buhs-light);
    border-color: #dee2e6;
    color: var(--buhs-accent);
    padding: 12px;
}

.input-group-text .bi {
    width: 1em;
    height: 1em;
}

.auth-form .form-control {
    border-left: none;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .auth-form .form-control:focus {
        border-color: var(--buhs-accent);
        box-shadow: 0 0 0 0.25rem rgba(0, 95, 90, 0.25);
    }

.forgot-link {
    color: var(--buhs-accent);
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-link:hover {
        color: var(--buhs-primary);
        text-decoration: underline;
    }

.auth-btn {
    background: linear-gradient(135deg, var(--buhs-primary) 0%, var(--buhs-secondary) 100%);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .auth-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 95, 90, 0.3);
    }

    .auth-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #dee2e6;
    }

    .auth-divider span {
        background: var(--buhs-white);
        padding: 0 1rem;
        color: var(--buhs-accent);
        font-size: 0.9rem;
        position: relative;
    }

.auth-link {
    color: var(--buhs-primary);
    text-decoration: none;
    font-weight: 600;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.quick-links {
    background: var(--buhs-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--buhs-secondary);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--buhs-light);
}

    .quick-link:hover {
        background: var(--buhs-light);
        color: var(--buhs-primary);
        transform: translateY(-2px);
    }

/* ---------------------------
   CONTACT US PAGE
   --------------------------- */

.buhs-contact-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f2f1 100%);
    min-height: calc(100vh - 200px);
}

.contact-header {
    position: relative;
}

.contact-title {
    color: var(--buhs-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--buhs-accent);
    font-size: 1.1rem;
}

.title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--buhs-primary), var(--buhs-accent));
    margin: 1rem auto;
    border-radius: 2px;
}

.contact-info-card,
.contact-form-card {
    background: var(--buhs-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 95, 90, 0.1);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 95, 90, 0.1);
}

.info-title,
.form-title {
    color: var(--buhs-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-subtitle,
.form-subtitle {
    color: var(--buhs-accent);
    margin-bottom: 1.5rem;
}

.contact-items {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    background: var(--buhs-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: var(--buhs-primary);
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--buhs-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-social {
    padding-top: 1rem;
    border-top: 1px solid var(--buhs-light);
}

.social-title {
    color: var(--buhs-secondary);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--buhs-light);
    color: var(--buhs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--buhs-primary);
        color: var(--buhs-white);
        transform: translateY(-3px);
    }

.contact-submit-btn {
    background: linear-gradient(135deg, var(--buhs-primary) 0%, var(--buhs-secondary) 100%);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .contact-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 95, 90, 0.3);
    }

.emergency-contacts .emergency-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #ffc107;
}

.emergency-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #856404;
}

    .emergency-header i {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .emergency-header h4 {
        margin: 0;
        color: #856404;
    }

.emergency-content p {
    color: #856404;
    margin-bottom: 0.5rem;
}

.emergency-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .emergency-list li {
        padding: 0.25rem 0;
        color: #856404;
    }

.map-section {
    background: var(--buhs-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 95, 90, 0.1);
}

.map-title {
    color: var(--buhs-secondary);
}

.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--buhs-light);
    cursor: pointer;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 95, 90, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--buhs-white);
    z-index: 2;
}

    .map-overlay i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .map-overlay h5 {
        margin-bottom: 0.5rem;
        text-align: center;
    }

.map-frame {
    width: 100%;
    height: 100%;
}

/* ---------------------------
   IMPORTANT DATES PAGE
   --------------------------- */

.buhs-dates-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f2f1 100%);
    min-height: calc(100vh - 200px);
}

.dates-header {
    position: relative;
}

.dates-title {
    color: var(--buhs-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dates-subtitle {
    color: var(--buhs-accent);
    font-size: 1.1rem;
}

.year-selector {
    background: var(--buhs-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
}

.year-title {
    color: var(--buhs-secondary);
    margin: 0;
}

.category-filter {
    background: var(--buhs-white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--buhs-light);
    background: transparent;
    color: var(--buhs-secondary);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: var(--buhs-primary);
        color: var(--buhs-white);
        border-color: var(--buhs-primary);
    }

.view-toggle {
    background: var(--buhs-white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
}

.dates-section {
    background: var(--buhs-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--buhs-secondary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--buhs-accent);
    margin: 0;
}

.dates-timeline {
    position: relative;
    padding-left: 2rem;
}

    .dates-timeline::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--buhs-light);
    }

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    background: var(--buhs-primary);
    color: var(--buhs-white);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0;
}

.date-year {
    font-size: 0.8rem;
    opacity: 0.9;
}

.timeline-content {
    flex: 1;
    background: var(--buhs-light);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
}

    .timeline-content::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 20px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid var(--buhs-light);
    }

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

    .category-badge.admission {
        background: #d4edda;
        color: #155724;
    }

    .category-badge.examination {
        background: #fff3cd;
        color: #856404;
    }

    .category-badge.academic {
        background: #d1ecf1;
        color: #0c5460;
    }

    .category-badge.holiday {
        background: #f8d7da;
        color: #721c24;
    }

    .category-badge.event {
        background: #e2e3e5;
        color: #383d41;
    }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

    .status-badge.upcoming {
        background: #cce5ff;
        color: #004085;
    }

    .status-badge.current {
        background: #d4edda;
        color: #155724;
    }

    .status-badge.past {
        background: #e2e3e5;
        color: #383d41;
    }

.event-title {
    color: var(--buhs-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-description {
    color: #666;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--buhs-accent);
    font-size: 0.9rem;
}

    .event-details span {
        display: flex;
        align-items: center;
    }

.current-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.current-event-card {
    background: var(--buhs-light);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 95, 90, 0.1);
    transition: all 0.3s ease;
}

    .current-event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 95, 90, 0.15);
    }

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-date {
    display: flex;
    align-items: baseline;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--buhs-primary);
}

.event-month {
    font-size: 0.9rem;
    color: var(--buhs-accent);
    margin-left: 0.25rem;
}

.event-card-title {
    color: var(--buhs-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.past-events-table {
    overflow-x: auto;
}

    .past-events-table .table {
        margin-bottom: 0;
    }

    .past-events-table th {
        background: var(--buhs-light);
        color: var(--buhs-secondary);
        font-weight: 600;
        border-bottom: 2px solid var(--buhs-primary);
    }

.subscribe-card,
.download-card {
    background: var(--buhs-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 95, 90, 0.1);
    margin-bottom: 1rem;
}

.subscribe-title {
    color: var(--buhs-secondary);
    margin-bottom: 0.5rem;
}

.subscribe-text {
    color: var(--buhs-accent);
    margin: 0;
}

.download-title {
    color: var(--buhs-secondary);
    margin-bottom: 0.25rem;
}

.download-text {
    color: var(--buhs-accent);
    margin: 0;
}

/* ---------------------------
   REGISTER PAGE SPECIFIC STYLES
   --------------------------- */

/* Step indicators */
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

    .registration-steps::before {
        content: '';
        position: absolute;
        top: 17px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(to right, var(--buhs-success) 0%, var(--buhs-success) 33%, var(--buhs-primary) 33%, var(--buhs-primary) 66%, #dee2e6 66%, #dee2e6 100%);
        z-index: 1;
        transition: all 0.3s ease;
    }

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid transparent;
}

.step-item.active .step-number {
    background: var(--buhs-primary);
    color: white;
    border-color: var(--buhs-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0, 95, 90, 0.2);
}

.step-item.completed .step-number {
    background: var(--buhs-success);
    color: white;
    border-color: var(--buhs-success);
}

.step-item.pending .step-number {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-item.active .step-label {
    color: var(--buhs-primary);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: var(--buhs-success);
    font-weight: 500;
}

.step-item.pending .step-label {
    color: #adb5bd;
}

/* Form sections */
.form-section {
    display: none;
}

    .form-section.active {
        display: block;
        animation: slideIn 0.3s ease;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form validation indicators */
.form-group {
    position: relative;
}

.validation-indicator {
    position: absolute;
    right: 12px;
    top: 40px;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

    .validation-indicator.valid {
        opacity: 1;
    }

/* Error and success messages */
.error-message {
    color: var(--buhs-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

    .error-message.show {
        display: block;
    }

.success-message {
    color: var(--buhs-success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

    .success-message.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Password Requirements Styles - Simplified */
.password-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .password-requirements.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

    .requirement-item i {
        margin-right: 0.5rem;
        width: 20px;
        text-align: center;
        font-size: 0.85rem;
    }

    .requirement-item.met i {
        color: #28a745 !important;
    }

    .requirement-item.met span {
        color: #28a745;
        font-weight: 500;
    }

    .requirement-item.not-met i {
        color: #dc3545 !important;
    }

    .requirement-item.not-met span {
        color: #6c757d;
    }

/* Remove password strength meter styles */
.password-strength-meter,
.password-strength-fill,
.password-strength-text {
    display: none;
}
/* Aadhar validation section */
.aadhar-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

    .aadhar-section.validating {
        border-color: var(--buhs-info);
        background: #e7f3fe;
    }

    .aadhar-section.verified {
        border-color: var(--buhs-success);
        background: #e7f7ed;
    }

    .aadhar-section.invalid {
        border-color: var(--buhs-danger);
        background: #fde8e8;
    }

.aadhar-status {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

    .aadhar-status i {
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }

    .aadhar-status.validating {
        color: var(--buhs-info);
    }

    .aadhar-status.verified {
        color: var(--buhs-success);
    }

    .aadhar-status.invalid {
        color: var(--buhs-danger);
    }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--buhs-primary) 0%, var(--buhs-secondary) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 95, 90, 0.3);
    }

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    }

    .btn-success:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

/* Toggle password button */
#toggleLoginPassword .bi {
    font-size: 1.1rem;
}

/* Remember me checkbox */
.form-check-input {
    width: 1.1em;
    height: 1.1em;
}

    .form-check-input:checked {
        background-color: var(--buhs-primary);
        border-color: var(--buhs-primary);
    }

/* Loading spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Toastify styles */
.toastify {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
}

/* ---------------------------
   RESPONSIVE ADJUSTMENTS
   --------------------------- */

@media (max-width: 768px) {
    /* Authentication */
    .buhs-auth-card {
        padding: 1.5rem;
        margin: 1rem;
        width: 95% !important;
    }

    .auth-logo-img {
        width: 60px;
        height: 60px;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    /* Contact Us */
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-icon {
        margin-bottom: 0.75rem;
    }

    /* Important Dates */
    .dates-section {
        padding: 1rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    .timeline-content::before {
        display: none;
    }

    .current-events-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: center;
    }

    /* Quick links */
    .quick-link {
        margin-bottom: 0.5rem;
    }

    /* Registration steps */
    .registration-steps {
        flex-direction: column;
        gap: 1rem;
    }

        .registration-steps::before {
            display: none;
        }

    .step-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .step-number {
        margin-bottom: 0;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .col-md-6, .col-md-8, .col-md-4 {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    /* Authentication */
    .auth-header {
        margin-bottom: 1.5rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    /* Contact Us & Dates */
    .contact-title,
    .dates-title {
        font-size: 1.5rem;
    }

    /* Important Dates */
    .section-title {
        font-size: 1.25rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .category-badge,
    .status-badge {
        font-size: 0.7rem;
    }

    .event-title {
        font-size: 1.1rem;
    }

    /* Registration */
    .registration-steps {
        font-size: 14px !important;
    }
}


/*aadhar implemetation*/


/* Aadhar verification styles */
.aadhar-section {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

    .aadhar-section.validating {
        border-color: #ffc107;
        background-color: #fff8e1;
    }

    .aadhar-section.verified {
        border-color: #28a745;
        background-color: #f8fff9;
    }

    .aadhar-section.invalid {
        border-color: #dc3545;
        background-color: #fff5f5;
    }

.aadhar-status {
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 10px;
}

    .aadhar-status.validating {
        background-color: #fff8e1;
        color: #856404;
        border-left: 4px solid #ffc107;
    }

    .aadhar-status.verified {
        background-color: #d4edda;
        color: #155724;
        border-left: 4px solid #28a745;
    }

    .aadhar-status.invalid {
        background-color: #f8d7da;
        color: #721c24;
        border-left: 4px solid #dc3545;
    }

/* Field matching styles */
.is-valid {
    border-color: #28a745 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}


/* Real-time matching styles */
.matching-field {
    transition: all 0.3s ease;
}

    .matching-field.valid {
        border-color: #28a745;
        background-color: rgba(40, 167, 69, 0.1);
    }

    .matching-field.invalid {
        border-color: #dc3545;
        background-color: rgba(220, 53, 69, 0.1);
    }

.matching-hint {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 5px;
    display: none;
}

    .matching-hint.match {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        display: block;
    }

    .matching-hint.mismatch {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        display: block;
    }

/* Application number modal */
.app-number-display {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}


/* Aadhar Match Indicators */
.aadhar-match-indicator {
    width: 40px;
    justify-content: center;
}

.match-status {
    font-size: 0.85rem;
    min-height: 20px;
}

/* Form field styling for matches */
.input-group .is-match {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.input-group .is-mismatch {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}


/* Password Requirements Styling */
.password-requirements {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    display: none;
}

    .password-requirements.show {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

    .requirement-item:last-child {
        margin-bottom: 0;
    }

    .requirement-item i {
        margin-right: 10px;
        font-size: 12px;
    }

    .requirement-item.met i {
        color: #28a745;
    }

    .requirement-item.not-met i {
        color: #dc3545;
    }

    .requirement-item.met span {
        color: #28a745;
        text-decoration: line-through;
        opacity: 0.7;
    }

    .requirement-item.not-met span {
        color: #dc3545;
    }

/* Password Strength Meter */
.password-strength-meter {
    height: 5px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

/* Aadhar Status */
.aadhar-status {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    .aadhar-status i {
        margin-right: 10px;
    }

    .aadhar-status.info {
        background-color: #e7f3ff;
        color: #0066cc;
        border: 1px solid #b3d9ff;
    }

    .aadhar-status.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .aadhar-status.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

/* Aadhar Match Indicators */
.aadhar-match-indicator {
    min-width: 40px;
    justify-content: center;
}

.match-status {
    font-size: 12px;
    font-style: italic;
}

/* Form Sections */
.form-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

    .form-section.active {
        display: block;
    }

/* Registration Steps */
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

    .registration-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-color: #dee2e6;
        z-index: 1;
    }

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    transform: scale(1.1);
}

.step-item.completed .step-number {
    background-color: #28a745;
    color: white;
    border-color: #1e7e34;
}

.step-label {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.step-item.completed .step-label {
    color: #28a745;
}

/* Error/Success Messages */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

    .error-message.show {
        display: block;
    }

.success-message {
    color: #28a745;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

    .success-message.show {
        display: block;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-steps {
        flex-direction: column;
        gap: 20px;
    }

        .registration-steps::before {
            display: none;
        }

    .step-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .step-number {
        margin-bottom: 0;
    }
}

/* Aadhar Matching Styles */
.aadhar-match-indicator {
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-status {
    font-size: 12px;
    font-style: italic;
    margin-top: 2px;
}

    .match-status .text-success {
        font-weight: 500;
    }

    .match-status .text-danger {
        font-weight: 500;
    }

/* Disabled field styling */
.form-control:disabled,
.form-select:disabled {
    background-color: #f8f9fa !important;
    cursor: not-allowed;
}

.form-control.bg-light {
    background-color: #f8f9fa !important;
}

/* Visual feedback for matched fields */
.form-control.is-valid:disabled {
    border-color: #28a745;
    background-color: #f8f9fa;
}

/* Visual feedback for mismatched fields */
.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #fff;
}

/* Input group adjustments */
.input-group-text {
    transition: all 0.3s ease;
}

/* Submit button states */
#submitRegistration:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#submitRegistration.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

#submitRegistration.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}