:root {
    --primary-color: #0f1d46;
    --dark-primary: #000e27;
    --warning-color: #e6b42a;
    --secondary-color: #f6c23e;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: #333;
}

/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, var(--dark-primary) 0%, #000f25 100%) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-link {
    color: #fff !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
}

.dropdown-menu {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.dropdown-item {
    color: #fff;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--dark-primary);
}

/* Button Styling */
.btn-warning {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--warning-color) 100%) !important;
    border-color: var(--warning-color) !important;
    color: var(--dark-primary) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(246, 194, 62, 0.3);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(246, 194, 62, 0.4);
    background: linear-gradient(135deg, var(--warning-color) 0%, #cfaa1f 100%) !important;
}

.btn-warning:active {
    transform: translateY(0);
}

.btn-outline-warning {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--warning-color) 100%) !important;
    border-color: var(--warning-color) !important;
    color: var(--dark-primary) !important;
}

.btn-dark {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-dark:hover {
    background-color: var(--dark-primary) !important;
    border-color: var(--dark-primary) !important;
}

/* Footer Styling */
.footer {
    background: linear-gradient(135deg, var(--dark-primary) 0%, #000f25 100%);
    color: #fff;
    margin-top: 0rem;
    padding: 4rem 0 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer h5 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.newsletter-section {
    background: rgba(246, 194, 62, 0.1);
    border: 1px solid rgba(246, 194, 62, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.newsletter-section input {
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.newsletter-section input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.25);
}

.footer-divider {
    border-color: rgba(230, 180, 42, 0.3);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(230, 180, 42, 0.3);
    opacity: 0.85;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(230, 180, 42, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
}

.social-links a:hover {
    color: var(--dark-primary);
    text-decoration: none;
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Form Control Styling */
.form-control, .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.25);
}

.input-group-text {
    background-color: white;
    border: 1px solid #e0e0e0;
    color: #999;
}

/* Alert Styling */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Badge Styling */
.badge {
    padding: 0.35rem 0.65rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer h5 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .newsletter-section {
        padding: 1.5rem 1rem;
    }
}



/*****************************/
/*  Home Page Styling Start */ 
/***************************/

.home-wrapper {
    overflow-x: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: #0f1d46;
    font-weight: bold;
}

/* Header Area */
.header-area {
    background: linear-gradient(135deg, #000e27 0%, #000f25 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.header-area .title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.header-area .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Hero Search Form */
.hero-search-form {
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 550px;
}

.hero-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Category Cards */
.category-card {
    background: #fdfdfd;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1);
    border-color: #f6c23e !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    margin: 0 auto;
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.05) !important;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0f1d46;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.icon-circle {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

.how-it-works-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, #dee2e6 0, #dee2e6 10px, transparent 10px, transparent 20px);
    z-index: 0;
}

/* Service Cards */
.service-card {
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.1) !important;
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.2);
    z-index: 10;
}

.description-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skeleton Loaders */
.skeleton-card {
    background: white;
    pointer-events: none;
}

.skeleton-img {
    height: 200px;
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shine 1.5s linear infinite;
}

.skeleton-line {
    height: 12px;
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shine 1.5s linear infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

@keyframes shine {
    to { background-position-x: -200%; }
}

/* Feature Cards */
.feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Stats Card */
.stats-card {
    border-radius: 2rem;
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.15);
}

/* Professional CTA */
.pro-cta-card {
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

/* Advanced Filters Style */
.custom-range::-webkit-slider-thumb {
    background: #f6c23e;
}

.custom-range::-moz-range-thumb {
    background: #f6c23e;
}

.small-link {
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .header-area .title {
        font-size: 2rem;
    }
}
/***************************/
/*  Home Page Styling End  */ 
/***************************/

/***************************************/
/*  Errand/Service Page Styling Start  */ 
/***************************************/
.services-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.filter-sidebar {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-sidebar h5 {
    font-weight: bold;
    color: #0f1d46;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.95rem;
}

.filter-input,
.filter-select {
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    width: 100%;
    font-size: 0.95rem;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #f6c23e;
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.25);
}

.filter-range-values {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.filter-range-input {
    width: 48%;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.custom-range {
    height: 0.5rem;
    border-radius: 0.5rem;
}

.custom-range::-webkit-slider-thumb {
    background: #f6c23e;
    border: 2px solid #f6c23e;
}

.custom-range::-moz-range-thumb {
    background: #f6c23e;
    border: 2px solid #f6c23e;
}

.radius-display {
    font-weight: 600;
    color: #f6c23e;
    margin-top: 0.5rem;
}

.checkbox-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    cursor: pointer;
    accent-color: #f6c23e;
}

.filter-checkbox label {
    cursor: pointer;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.reset-filters {
    width: 100%;
    margin-top: 1rem;
}

/* Services Grid */
.services-wrapper {
    min-height: 400px;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
}

.service-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
    z-index: 10;
}

.verified-badge {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    width: 28px;
    height: 28px;
    background: #f6c23e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.2);
    z-index: 5;
}

.service-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-weight: bold;
    color: #0f1d46;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.service-category {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

.service-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    gap: 0.5rem;
}

.service-pro {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.service-pro-verified::before {
    content: "✓ ";
    color: #f6c23e;
    font-weight: bold;
}

.service-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #f6c23e;
}

.service-btn {
    background: #0f1d46;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #1a2e5f;
    color: white;
    transform: scale(1.05);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-results-text {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Header Section */
.services-header {
    background: linear-gradient(135deg, #000e27 0%, #000f25 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.services-header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.services-header p {
    opacity: 0.85;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}
/*************************************/
/*  Errand/Service Page Styling End  */ 
/*************************************/

/*****************************************/
/*  Sign In/Register Page Styling Start  */ 
/****************************************/

.auth-page {
    background: linear-gradient(135deg, #000e27 0%, #000f25 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.3);
    width: 100%;
    /* max-width: 450px; */
    max-width: 32rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.auth-tab:hover {
    color: #666;
}

.auth-tab.active {
    color: #f6c23e;
    border-bottom-color: #f6c23e;
    box-shadow: 0 4px 12px rgba(246, 194, 62, 0.3);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #f6c23e;
    box-shadow: 0 0 10px rgba(246, 194, 62, 0.6);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #0f1d46;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.input-group-text {
    background: white;
    border: 1px solid #e0e0e0;
    color: #999;
    border-right: none;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-left: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #f6c23e;
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.25);
    border-left: 1px solid #f6c23e;
}

.input-group:focus-within .input-group-text {
    background: white;
    border-color: #f6c23e;
    color: #f6c23e;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    accent-color: #f6c23e;
    cursor: pointer;
}

.form-check-label {
    color: #999;
    cursor: pointer;
    margin-left: 0.5rem;
}

.forgot-link {
    color: #f6c23e;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #f6c23e 0%, #e6b42a 100%);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 194, 62, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 194, 62, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #f6c23e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 0.75rem;
    border: none;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 1rem;
    }

    .auth-container {
        border-radius: 1.5rem;
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .auth-tabs {
        margin-bottom: 2rem;
    }

    .auth-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-control,
    .input-group-text {
        font-size: 0.95rem;
        padding: 0.65rem 0.85rem;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .auth-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .auth-page {
        padding: 0.75rem;
        min-height: auto;
    }

    .auth-container {
        border-radius: 1.25rem;
        padding: 1.5rem 1rem;
        box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.2);
    }

    .auth-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .auth-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .auth-tabs {
        gap: 0.5rem;
        margin-bottom: 1.75rem;
        border-bottom: 2px solid #e0e0e0;
    }

    .auth-tab {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .input-group {
        flex-wrap: wrap;
    }

    .input-group-text {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .form-check {
        gap: 0.35rem;
    }

    .form-check-input {
        margin-top: 0.15rem;
    }

    .form-check-label {
        font-size: 0.85rem;
        margin-left: 0.35rem;
    }

    .forgot-link {
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 0.65rem;
        font-size: 0.9rem;
        border-radius: 0.4rem;
    }

    .submit-btn:hover {
        transform: translateY(-1px);
    }

    .auth-footer {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .alert {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }

    .alert ul {
        margin-bottom: 0;
        padding-left: 1.2rem;
    }

    .alert li {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 360px) {
    .auth-page {
        padding: 0.5rem;
    }

    .auth-container {
        padding: 1.25rem 0.75rem;
        border-radius: 1rem;
    }

    .auth-title {
        font-size: 1.2rem;
    }

    .auth-subtitle {
        font-size: 0.8rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .form-control,
    .input-group-text {
        font-size: 0.85rem;
        padding: 0.55rem 0.65rem;
    }

    .submit-btn {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}