@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary-color: hsl(182, 73%, 40%);
    /* Teal from thoughtled.ai */
    --primary-hover: hsl(182, 73%, 35%);
    --text-color: #0a0a0a;
    /* --foreground from site */
    --text-muted: #737373;
    /* --muted-foreground */
    --border-color: #e5e7eb;
    --input-bg: #ffffff;
    --bg-color: #ffffff;
    /* --background */
    --error-color: #ef4444;
    --link-color: hsl(182, 73%, 40%);
    --google-btn-bg: #ffffff;
    --google-btn-text: #0a0a0a;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Card */
.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 480px;
}

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

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Social Button */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 0.75rem;
}

.google-btn {
    background-color: var(--google-btn-bg);
    color: var(--google-btn-text);
    border: 1px solid var(--border-color);
}

.google-btn:hover {
    opacity: 0.9;
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider:not(:empty)::before {
    margin-right: 1em;
}

.divider:not(:empty)::after {
    margin-left: 1em;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: var(--input-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(216, 180, 254, 0.2);
}

/* Auth Actions */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
}

/* Registration Split Layout */
.registration-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    min-height: 80vh;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.left-panel {
    flex: 1;
    background-color: #f8f7ff;
    /* Very light purple/gray */
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: #1f2937;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #1e1b4b;
    /* Dark purple */
    margin-bottom: 2rem;
}

.brand-logo span {
    color: #7c3aed;
    /* Purple */
}

.value-props {
    list-style: none;
    margin-top: 2rem;
}

.value-props li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #4b5563;
}

.prop-icon {
    width: 40px;
    height: 40px;
    background-color: #ede9fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #7c3aed;
    flex-shrink: 0;
}

.right-panel {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.row {
    display: flex;
    gap: 1rem;
}

.col {
    flex: 1;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .registration-container {
        flex-direction: column;
        border-radius: 0;
        height: auto;
    }

    .left-panel {
        padding: 2rem;
        display: none;
        /* Hide left panel on mobile to save space or stack it */
    }

    .right-panel {
        padding: 2rem;
    }
}