/* OrangeRoute - Orange & White Minimalistic Theme */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --light-orange: #FFB366;
    --accent-orange: #FFD23F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --text-dark: #212529;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --border-radius-sm: 4px;
}

/* Ensure proper viewport handling */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Header Container */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav li {
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    border: 1px solid transparent;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

nav a:hover::before {
    left: 0;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    margin: 0 2px;
}

nav a:active {
    transform: translateY(0);
}

/* Active nav link */
nav a.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 1rem 0;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Buttons */
.btn-primary,
button[type="submit"],
.button {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.btn-primary:hover,
button[type="submit"]:hover,
.button:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:active,
button[type="submit"]:active,
.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.btn-secondary:active {
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

/* Profile */
.profile-info {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.profile-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.profile-info h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-info p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-info p strong {
    color: var(--primary-orange);
    font-weight: 600;
    min-width: 80px;
    text-align: left;
}

.profile-info .btn-secondary {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.profile-info .btn-secondary::before {
    content: '🔒';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.profile-info .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.profile-info .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    border-color: var(--secondary-orange);
}

.profile-info .btn-secondary:hover::before {
    transform: rotate(15deg);
}

.profile-info .btn-secondary:hover::after {
    left: 100%;
}

.profile-info .btn-secondary:active {
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

/* Profile Page Specific Styles */
.profile-page .container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-page .card {
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.profile-page .card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.profile-page .card h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.profile-page .card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 2px;
}

.profile-page .form-group {
    margin-bottom: 2rem;
}

.profile-page .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.profile-page input[type="file"] {
    width: 100%;
    padding: 1rem;
    border: 2px dashed var(--primary-orange);
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.05);
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-page input[type="file"]:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--secondary-orange);
}

.profile-page input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.profile-page .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.profile-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.profile-page .btn-primary:hover::before {
    left: 100%;
}

/* Status indicators for profile */
.status-verified {
    color: #28a745;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.status-not-verified {
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Role badge */
.role-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-user {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.role-driver {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.role-admin {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Profile Page Responsive Design */
@media (max-width: 768px) {
    .profile-page .container {
        padding: 0 0.5rem;
    }
    
    .profile-info {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .profile-picture {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: high-quality;
        -ms-interpolation-mode: bicubic;
    }
    
    .profile-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .profile-info p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .profile-info p strong {
        min-width: auto;
        text-align: center;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .profile-page .card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .profile-page .card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .profile-page input[type="file"] {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .profile-page .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .profile-page .btn-secondary {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .profile-info {
        padding: 1.5rem 1rem;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: high-quality;
        -ms-interpolation-mode: bicubic;
    }
    
    .profile-info h2 {
        font-size: 1.25rem;
    }
    
    .profile-info p {
        font-size: 0.9rem;
    }
    
    .profile-page .card {
        padding: 1rem;
    }
    
    .role-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .status-verified,
    .status-not-verified {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.table-responsive table {
    min-width: 600px;
    margin: 0;
}

th {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

tr:hover {
    background: var(--light-gray);
}

/* Status indicators */
.status-active {
    color: #28a745;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.status-inactive {
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Chat */
.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Responsive chat improvements */
@media (max-width: 768px) {
    .chat-container {
        margin: 1rem auto;
        border-radius: 0;
        box-shadow: none;
    }
    
    .chat-messages {
        max-height: 300px;
        padding: 0.75rem;
    }
    
    .chat-input-container {
        padding: 0.75rem;
    }
    
    .chat-input {
        width: calc(100% - 80px);
        padding: 0.625rem;
        font-size: 0.9rem;
    }
}

.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    background: var(--light-gray);
    border-left: 4px solid var(--primary-orange);
}

.chat-input-container {
    padding: 1rem;
    background: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
}

.chat-input {
    width: calc(100% - 100px);
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    margin-right: 0.5rem;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.dashboard-card h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #495057 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 5px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Error messages */
.error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #dc3545;
    margin: 1rem 0;
}

.success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #28a745;
    margin: 1rem 0;
}

/* Responsive Design - Mobile First Approach */

/* Large screens (desktop) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 2rem;
    }
    
    .header-container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Medium screens (laptop/tablet landscape) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
        padding: 1.5rem;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
}

/* Small screens (tablet portrait) */
@media (max-width: 991px) and (min-width: 769px) {
    .container {
        max-width: 720px;
        padding: 1.25rem;
    }
    
    .header-container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile screens (phone landscape and portrait) */
/* Tablet and small desktop */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    nav ul {
        gap: 0.75rem;
    }
    
    nav a {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    header h1 {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .logo-section {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 0;
    }
    
    .circle {
        width: 50px;
        height: 50px;
    }
    
    nav {
        padding: 0.5rem 0;
        width: 100%;
    }
    
    nav ul {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    nav a {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
        min-width: auto;
        flex: 1;
        text-align: center;
        max-width: 120px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Make tables responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 100%;
        width: max-content;
    }
    
    /* Fix card layouts for mobile */
    .card {
        margin: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix shuttle cards for mobile */
    .shuttle-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .shuttle-card {
        margin: 0;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .card {
        padding: 1.5rem;
        margin: 0.75rem 0;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
        border-radius: 8px;
    }
    
    /* Ensure all interactive elements are touch-friendly */
    button, .btn, input[type="submit"], input[type="button"], a.btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
}

/* Small mobile screens (phones in portrait) */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
        max-width: 100%;
    }
    
    .header-container {
        padding: 0 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    header h1 {
        font-size: 1.25rem;
        margin: 0.25rem 0;
    }
    
    .logo-section {
        gap: 8px;
        flex-direction: row;
    }
    
    .circle {
        width: 40px;
        height: 40px;
    }
    
    nav {
        padding: 0.25rem 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }
    
    nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: none;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1rem;
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h2 {
        font-size: 1.25rem;
    }
    
    .profile-info p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.card,
.dashboard-card {
    animation: fadeIn 0.6s ease-out;
}

/* Special call-to-action buttons */
.btn-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}


/* Additional missing styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Form styles */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-text {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-top: 0.25rem;
}

/* Alert styles */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #155724;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.badge-success {
    background: #28a745;
    color: var(--white);
}

.badge-danger {
    background: #dc3545;
    color: var(--white);
}

.badge-warning {
    background: #ffc107;
    color: var(--text-dark);
}

.badge-info {
    background: #17a2b8;
    color: var(--white);
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress bar */
.progress {
    width: 100%;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    transition: width 0.3s ease;
}

/* Card variations */
.card-header {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid var(--medium-gray);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* List styles */
.list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-group-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: var(--light-gray);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-orange);
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-orange { 
    color: var(--primary-orange); 
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}
.text-orange::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #ff0000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.text-orange:hover::after {
    width: 100%;
}
.text-orange:hover {
    color: var(--secondary-orange);
    cursor: pointer;
}

/* Landing page styles */
.hero-section {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.features-section {
    margin: 3rem 0;
}

.cta-section {
    margin: 3rem 0;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
}

.dashboard-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Landing page button styles */
.landing-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.landing-btn:hover {
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.text-white { color: var(--white); }
.text-muted { color: var(--dark-gray); }
.bg-orange { background: var(--primary-orange); }
.bg-white { background: var(--white); }
.bg-light { background: var(--light-gray); }

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Responsive display utilities */
@media (max-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
    .d-md-grid { display: grid; }
}

@media (max-width: 480px) {
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
    .d-sm-flex { display: flex; }
    .d-sm-grid { display: grid; }
}

/* Flexbox utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }

/* Width utilities */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

/* Border utilities */
.border { border: 1px solid var(--medium-gray); }
.border-top { border-top: 1px solid var(--medium-gray); }
.border-bottom { border-bottom: 1px solid var(--medium-gray); }
.border-left { border-left: 1px solid var(--medium-gray); }
.border-right { border-right: 1px solid var(--medium-gray); }
.border-0 { border: 0; }

/* Rounded utilities */
.rounded { border-radius: var(--border-radius); }
.rounded-sm { border-radius: 4px; }
.rounded-lg { border-radius: 12px; }
.rounded-circle { border-radius: 50%; }
.rounded-0 { border-radius: 0; }

/* Shadow utilities */
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.shadow-none { box-shadow: none; }

/* Position utilities */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Text utilities */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-break: break-word;
    overflow-wrap: break-word;
}

.text-nowrap { white-space: nowrap; }

/* Font utilities */
.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-bold { font-weight: 700; }
.fw-bolder { font-weight: 900; }

.fs-1 { font-size: 2.5rem; }
.fs-2 { font-size: 2rem; }
.fs-3 { font-size: 1.75rem; }
.fs-4 { font-size: 1.5rem; }
.fs-5 { font-size: 1.25rem; }
.fs-6 { font-size: 1rem; }

/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* User select utilities */
.user-select-none { user-select: none; }
.user-select-auto { user-select: auto; }
.user-select-all { user-select: all; }

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive video */
video {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    button, .btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for touch */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px;
    }
    
    /* Better table handling */
    .table-responsive {
        border: none;
        box-shadow: none;
    }
    
    .table-responsive table {
        font-size: 0.9rem;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 0.75rem 0.5rem;
    }
}

/* Visibility utilities */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Authentication Pages Styles */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 2rem auto;
    align-items: start;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

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

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.auth-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-form input::placeholder {
    color: var(--dark-gray);
    opacity: 0.7;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn-full span {
    position: relative;
    z-index: 2;
}

.btn-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-full:hover::before {
    left: 100%;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.auth-footer p {
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.auth-footer a {
    font-weight: 600;
    transition: var(--transition);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    margin: 1rem 0;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.auth-features {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
    position: sticky;
    top: 2rem;
}

.auth-features h3 {
    color: var(--primary-orange);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.feature-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Form Elements */
.form-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.form-icon-small {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    padding-right: 3rem;
    transition: all 0.3s ease;
}

.input-wrapper.focused input {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    transition: width 0.3s ease;
}

.input-wrapper.focused .input-focus-line {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
    z-index: 2;
}

.password-toggle:hover {
    background: rgba(255, 107, 53, 0.1);
}

.eye-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

/* Form Options */
.form-options {
    margin: 1.5rem 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--dark-gray);
    position: relative;
    padding-left: 2rem;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-wrapper:hover .checkmark {
    border-color: var(--primary-orange);
}

.checkbox-wrapper input:checked ~ .checkmark {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper input:checked ~ .checkmark:after {
    display: block;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--medium-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Enhanced Button States */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-loader .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.btn-full:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-full:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

/* Form Validation States */
.input-wrapper input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-wrapper input:valid:not(:placeholder-shown) {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.auth-card {
    animation: slideInUp 0.6s ease-out;
}

.auth-features {
    animation: slideInUp 0.8s ease-out;
}

.feature-item {
    animation: fadeInScale 0.4s ease-out;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

/* Floating Label Effect */
.auth-form label {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-wrapper.focused label {
    color: var(--primary-orange);
}

/* Enhanced Form Text */
.form-text {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Success/Error States */
.form-group.success input {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group.error input {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success .input-focus-line {
    background: #28a745;
}

.form-group.error .input-focus-line {
    background: #dc3545;
}

/* Landing page responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .landing-btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }
    
    .cta-section .hero-section {
        padding: 1.5rem 1rem;
    }
}

/* Responsive Design for Auth Pages */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1rem auto;
        padding: 0 1rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .auth-features {
        position: static;
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto 1rem auto;
    }
    
    .feature-item h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .input-wrapper input {
        padding-right: 2.5rem;
        font-size: 0.95rem;
    }
    
    .password-toggle {
        right: 0.75rem;
    }
    
    .btn-full {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .dashboard-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-features {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-form input {
        padding: 0.875rem 1rem;
        padding-right: 2.5rem;
    }
    
    .btn-full {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .checkbox-wrapper {
        font-size: 0.9rem;
        padding-left: 1.75rem;
    }
    
    .checkmark {
        height: 18px;
        width: 18px;
    }
    
    .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 9px;
    }
}

/* ===========================================
   LOCATION UPDATE STYLES
   =========================================== */
.location-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-status {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.location-status p {
    margin: 0;
    font-weight: 500;
    color: #495057;
}

.location-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.location-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.location-btn .btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.location-btn:hover:not(:disabled) .btn-icon {
    transform: scale(1.1);
}

.last-updated {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.location-map {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #dee2e6;
    margin-top: 1rem;
    display: none;
    overflow: hidden;
}

.location-map.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Location status message styles */
.location-status .success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
}

.location-status .error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
}

.location-status .info {
    color: #0c5460;
    background: rgba(12, 84, 96, 0.1);
    border: 1px solid #0c5460;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
}

/* Responsive design for location section */
@media (max-width: 768px) {
    .location-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-btn {
        justify-content: center;
        width: 100%;
    }
    
    .last-updated {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .location-map {
        height: 250px;
    }
    
    .location-btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* Additional responsive utilities */
@media (max-width: 768px) {
    /* Hide elements on mobile if needed */
    .d-mobile-none {
        display: none !important;
    }
    
    /* Show elements only on mobile */
    .d-mobile-only {
        display: block !important;
    }
    
    /* Full width on mobile */
    .w-mobile-full {
        width: 100% !important;
    }
    
    /* Stack elements vertically on mobile */
    .flex-mobile-column {
        flex-direction: column !important;
    }
    
    /* Center text on mobile */
    .text-mobile-center {
        text-align: center !important;
    }
}

@media (min-width: 769px) {
    .d-mobile-only {
        display: none !important;
    }
    
    .d-mobile-none {
        display: block !important;
    }
}