/* Mobile App Section */
.mobile-app-section {
    background: linear-gradient(to right, #f8f9fa, rgba(15, 167, 152, 0.05));
    padding: 1.25rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

    .mobile-app-section h3 {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark);
    }

    .mobile-app-section p {
        margin-bottom: 0.9rem;
        color: var(--text-muted);
        font-size: 0.85rem;
        font-weight: 300;
    }

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.app-button {
    display: flex;
    align-items: center;
    background: var(--button-gradient);
    background-size: 200% auto;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(15, 167, 152, 0.15);
}

    .app-button:hover {
        background: var(--button-gradient-hover);
        background-position: right center;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(15, 167, 152, 0.25);
    }

    .app-button i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .left-panel {
        padding: 1.5rem;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-buttons {
        align-items: center;
        gap: 0.5rem;
    }
}
/* Base and Typography */
:root {
    /* Color system */
    --primary: #0fa798;
    --primary-light: #27c4b5;
    --primary-dark: #0c8b7e;
    --secondary: #4e54c8;
    --secondary-light: #8f94fb;
    --secondary-dark: #3a3f99;
    /* Neutral colors */
    --text-dark: #333;
    --text-muted: #666;
    --light-bg: #f8f9fa;
    --border: #e0e0e0;
    /* Effects */
    --white-transparent: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    /* Gradients */
    --button-gradient: linear-gradient(to right, var(--primary), var(--primary-light));
    --button-gradient-hover: linear-gradient(to right, var(--primary-light), var(--primary));
    --panel-gradient: linear-gradient(145deg, var(--primary), var(--primary-light), var(--secondary-light));
    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Override dark mode to always use light theme */
@media (prefers-color-scheme: dark) {
    :root {
        /* Keep light theme colors */
        --text-dark: #333;
        --text-muted: #666;
        --light-bg: #f8f9fa;
        --border: #e0e0e0;
    }

    .right-panel {
        background: white !important;
    }

    .mobile-app-section {
        background: linear-gradient(to right, #f8f9fa, rgba(15, 167, 152, 0.05)) !important;
        border-top: 1px solid var(--border) !important;
    }

    .form-control {
        background-color: white;
        color: var(--text-dark);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
    font-weight: 300;
}

.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel */
.left-panel {
    flex: 1;
    background: var(--panel-gradient);
    background-size: 300% 300%;
    animation: gradient-animation 15s ease infinite;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    box-shadow: inset -5px 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .left-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.left-panel .content {
    max-width: 80%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    width: 90px;
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-medium);
}

    .logo:hover {
        transform: scale(1.05);
    }

.left-panel h1 {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.description {
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
    max-width: 540px;
    margin-inline: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-item {
    background: var(--white-transparent);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-3px) scale(1.02);
        box-shadow: var(--shadow-md);
    }

    .feature-item i {
        font-size: 1.75rem;
        margin-bottom: var(--space-sm);
        transition: transform var(--transition-fast);
    }

    .feature-item:hover i {
        transform: scale(1.1);
    }

/* Right Panel */
.right-panel {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

.login-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-2xl);
}

.logo-container {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.logo-small {
    width: 50px;
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-medium);
}

    .logo-small:hover {
        transform: scale(1.1) rotate(-5deg);
    }

.login-form {
    width: 100%;
    max-width: 380px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    box-sizing: border-box;
    font-weight: 300;
}

    .form-control:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(15, 167, 152, 0.1);
        transform: translateY(-1px);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    font-weight: 300;
}

    .remember-me input {
        margin-right: 0.4rem;
    }

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

    .forgot-password:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 0.7rem;
    background: var(--button-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(15, 167, 152, 0.2);
    background-size: 200% auto;
}

    .login-btn:hover {
        background: var(--button-gradient-hover);
        background-position: right center;
        box-shadow: 0 4px 8px rgba(15, 167, 152, 0.3);
    }

    .login-btn:active {
        transform: translateY(1px);
    }

.support-section {
    text-align: center;
    margin-top: 1.75rem;
}

    .support-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        font-weight: 400;
        color: var(--text-muted);
    }

.support-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.support-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.2s;
    font-size: 0.85rem;
    font-weight: 300;
}

    .support-option:hover {
        transform: translateY(-2px);
    }

    .support-option i {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

/* Mobile App Section */
.mobile-app-section {
    background: linear-gradient(to right, #f8f9fa, rgba(15, 167, 152, 0.05));
    padding: 1.25rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

    .mobile-app-section h3 {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark);
    }

    .mobile-app-section p {
        margin-bottom: 0.9rem;
        color: var(--text-muted);
        font-size: 0.85rem;
        font-weight: 300;
    }

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.app-button {
    display: flex;
    align-items: center;
    background: var(--button-gradient);
    background-size: 200% auto;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(15, 167, 152, 0.15);
}

    .app-button:hover {
        background: var(--button-gradient-hover);
        background-position: right center;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(15, 167, 152, 0.25);
    }

    .app-button i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .left-panel {
        padding: 1.5rem;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-buttons {
        align-items: center;
        gap: 0.5rem;
    }
}
/* Media queries - Update for better mobile experience */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    /* Hide the left panel on mobile */
    .left-panel {
        display: none;
    }

    /* Make the right panel take full width and height */
    .right-panel {
        flex: 1;
        min-height: 100vh;
    }

    .login-form-container {
        padding: 2rem 1.5rem;
    }
    
    /* Optimize mobile app section for mobile */
    .mobile-app-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-buttons {
        align-items: center;
        gap: 0.5rem;
    }

    /* Reduce padding further for very small screens */
    .login-form-container {
        padding: 1.5rem 1rem;
    }
    
    /* Adjust form elements for small screens */
    .login-form {
        max-width: 100%;
    }
}
