*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    background: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.auth-layout {
    display: flex;
    min-height: 100vh;
}

.auth-panel-left {
    flex: 0 0 42%;
    background: #e2e5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.auth-panel-left svg {
    width: 75%;
    max-width: 420px;
    opacity: .9;
    user-select: none;
    pointer-events: none;
}

.auth-panel-right {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    overflow-y: auto;
}

.auth-form-wrap {
    width: 100%;
    max-width: 460px;
}

.auth-form-wrap h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1c2b39;
    margin-bottom: .25rem;
}

.auth-subtitle {
    color: #6b7280;
    margin-bottom: 1.75rem;
    font-size: .95rem;
}

.auth-form-wrap .form-label {
    font-weight: 600;
    font-size: .875rem;
    color: #1c2b39;
    margin-bottom: .35rem;
}

.auth-form-wrap .form-label .required {
    color: #e53935;
    margin-left: 1px;
}

.auth-form-wrap .form-control {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: .7rem 1rem;
    font-size: .95rem;
    background: #fff;
    color: #1c2b39;
    transition: border-color .15s;
}

.auth-form-wrap .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25,118,210,.12);
    outline: none;
}

.auth-form-wrap .form-control::placeholder {
    color: #b0b7c3;
}

.auth-submit {
    background: #2e7d32;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: .8rem 1rem;
    width: 100%;
    cursor: pointer;
    transition: background .15s;
}

.auth-submit:hover { background: #1b5e20; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #9ca3af;
    font-size: .85rem;
    margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-social {
    display: flex;
    gap: .75rem;
}

.auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: .6rem 1rem;
    background: #fff;
    font-size: .875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

.auth-social-btn:hover { border-color: #9ca3af; background: #f9fafb; color: #374151; }

.auth-footer-link {
    text-align: center;
    font-size: .9rem;
    color: #6b7280;
    margin-top: 1.25rem;
}

.auth-footer-link a,
.auth-link {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover,
.auth-link:hover {
    text-decoration: underline;
}

.google-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .auth-panel-left { display: none; }
}
