    .auth-container {
        min-height: calc(100vh - 250px); /* Adjust for header/footer height */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
		
	.header-container {
		width: 100% !important;  /* Full width */
		display: flex !important; /* Apply flexbox layout */
		justify-content: space-between !important; /* Space out the content */
		align-items: center !important; /* Vertically center the content */
		padding: 0 0 !important; /* Remove padding to eliminate extra space */
	}

    /* Container styling */
    .search-container {
        max-width: 600px; /* Matches your original inline style */
    }

    /* Ensure nav stays in a row */
    .nav-container {
        display: flex;
        justify-content: flex-end; /* Push nav to the right */
        align-items: center;
    }

    /* Right-aligned nav container */
    .header .nav-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end; /* Aligns content inside to the right */
        flex: 1; /* Ensures it stays on the right */
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%; /* Ensure it uses the full width */
        max-width: 25vw; /* Constrain to 25% of viewport */
    }

    /* Container styling */
    .search-container {
        max-width: 600px; /* Matches your original inline style */
    }

/* ==========================================================================
   Layout Adjustments
   ========================================================================== */

/* Reduce margin-top for mt-3 and mt-4 on mobile */
@media (max-width: 767px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .container .row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .container [class*="col-"] {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}

/* ==========================================================================
   Layout Adjustments
   ========================================================================== */

/* Reduce margins, padding, and other spacing for mobile */
@media (max-width: 767px) {
    /* Container padding */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 5px !important; /* Reduce vertical padding if present */
        padding-bottom: 5px !important;
    }

    /* Row margins */
    .container .row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: -10px !important; /* Match reduced container padding */
        margin-right: -10px !important;
    }

    /* Column padding */
    .container [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* Catch-all for container children */
    .container > *,
    .container .row > * {
        margin-top: 0.5rem !important; /* Minimize unexpected margins */
        margin-bottom: 0.5rem !important;
        padding-top: 0.25rem !important; /* Minimize unexpected padding */
        padding-bottom: 0.25rem !important;
    }
}

@media (max-width: 576px) {
    /* Container padding */
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }

    /* Row margins */
    .container .row {
        margin-left: -8px !important; /* Match reduced container padding */
        margin-right: -8px !important;
    }

    /* Column padding */
    .container [class*="col-"] {
        padding-left: 4px !important;
        padding-right: 4px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    /* Catch-all for container children */
    .container > *,
    .container .row > * {
        margin-top: 0.25rem !important; /* Tighter margins */
        margin-bottom: 0.25rem !important;
        padding-top: 0.125rem !important; /* Tighter padding */
        padding-bottom: 0.125rem !important;
    }
}