:root {
    --bg: #f9fafb;
    --surface: #ffffff;
    --primary: #5855FE;
    --primary-hover: #4a47d9;
    --secondary: #9E36FE;
    --text: #1a1a1a;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --ring: rgba(88, 85, 254, 0.2);
}

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

body {
    font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    padding: 2rem;
}

.auth-form-content {
    max-width: 400px;
    width: 100%;
}

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

.auth-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-header p {
    color: var(--text-light);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--ring);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

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

.checkbox input {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

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

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

.form-footer-link a {
    color: var(--primary);
    text-decoration: none;
}

.auth-graphic-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-graphic-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
/* .graphic-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 2%, transparent 2.5%);
    background-size: 40px 40px;
} */
/* .graphic-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/custom/img/bg-auth.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
} */

.graphic-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graphic-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.chat-bubble {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.chat-bubble:nth-child(1) {
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.chat-bubble:nth-child(2) {
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.chat-bubble:nth-child(3) {
    align-self: center;
    background: white;
    color: #5855FE;
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    .auth-graphic-panel {
        display: none;
    }
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}


.quote {
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1rem;
    opacity: 0.9;
}

.features span {
    display: flex;
    color: #fff;
    align-items: center;
    gap: 0.5rem;
}