/* CSS Variables - Color Scheme */
:root {
    --background: #ffffff;
    --foreground: #171717;
    --card: #f7f7f7;
    --card-foreground: #171717;
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --secondary: #f0f0f0;
    --secondary-foreground: #171717;
    --muted: #f2f2f2;
    --muted-foreground: #808080;
    --border: #ededed;
    --input: #fafafa;
    --radius: 0.625rem;
}

/* Light mode only - dark mode disabled */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--background);
}

/* Welcome Section (Left Side) */
.welcome-section {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #1e293b);
    position: relative;
    overflow: hidden;
    padding: 3rem;
}

@media (min-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr 1fr;
    }

    .welcome-section {
        display: flex;
    }
}

.gradient-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.2));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.background-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

    .background-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
    }

.welcome-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
    max-width: 24rem;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

    .logo-icon .icon {
        width: 2.5rem;
        height: 2.5rem;
        color: white;
    }

.welcome-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.welcome-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

/* Form Section (Right Side) */
.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

@media (min-width: 640px) {
    .form-section {
        padding: 3rem 2rem;
    }
}

@media (min-width: 1024px) {
    .form-section {
        padding: 3rem 4rem;
    }
}

.form-container {
    width: 100%;
    max-width: 28rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Card */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    height: 3rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border);
    background-color: var(--card);
    padding: 0 1.25rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.2s ease;
}

    .form-input::placeholder {
        color: var(--muted-foreground);
    }

    .form-input:focus {
        outline: none;
        border-color: var(--primary);
        background-color: var(--input);
    }

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-input {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border);
    background-color: var(--card);
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.forgot-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .forgot-link:hover {
        color: rgba(59, 130, 246, 0.8);
    }

.submit-button {
    width: 100%;
    height: 3rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: 1rem;
}

    .submit-button:hover:not(:disabled) {
        background-color: rgba(59, 130, 246, 0.9);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .submit-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Divider */
.divider {
    position: relative;
    margin: 2rem 0;
}

.divider-line {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

    .divider-line::before {
        content: '';
        width: 100%;
        border-top: 1px solid var(--border);
    }

.divider-text {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--background);
    padding: 0 0.75rem;
    color: var(--muted-foreground);
}

/* Social Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-button {
    height: 3rem;
    border: 2px solid var(--border);
    background-color: var(--card);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

    .social-button:hover {
        background-color: var(--secondary);
    }

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--foreground);
}

/* Signup Link */
.signup-link {
    text-align: center;
    padding-top: 1rem;
}

.signup-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.signup-anchor {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .signup-anchor:hover {
        color: rgba(59, 130, 246, 0.8);
    }
