/* login.css - Shadcn theme version */* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--muted);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.login-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.login-header p {
    font-size: 14px;
    color: var(--muted-foreground);
    font-weight: 400;
}

.tabs-container {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--muted);
    padding: 4px;
    border-radius: var(--radius);
}

.tab-button {
    flex: 1;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: transparent;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-button:hover { color: var(--foreground); }

.tab-button.active {
    background: var(--card);
    color: var(--foreground);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    background: var(--background);
    transition: all 0.15s ease;
    outline: none;
    color: var(--foreground);
}

.form-input:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 3px oklch(0.527 0.105 172.545 / 0.1);
}

.form-input::placeholder { color: var(--muted-foreground); }

.form-select-custom {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    background: var(--background);
    transition: all 0.15s ease;
    outline: none;
    color: var(--foreground);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.form-select-custom:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 3px oklch(0.527 0.105 172.545 / 0.1);
}

.btn-login {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-foreground);
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 4px;
}

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

.btn-login:active {
    opacity: 0.85;
}

.forgot-password {
    text-align: center;
    margin-top: 16px;
}

.forgot-password a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.forgot-password a:hover { opacity: 0.8; }

.alert-custom {
    padding: 12px 14px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-danger {
    background: oklch(0.936 0.032 17.717);
    border: 1px solid var(--destructive);
    color: oklch(0.444 0.177 26.899);
}

.alert-info {
    background: var(--accent);
    border: 1px solid var(--primary);
    color: var(--accent-foreground);
}

.alert-success {
    background: var(--accent);
    border: 1px solid var(--primary);
    color: var(--accent-foreground);
}

.alert-icon { font-size: 16px; margin-top: 1px; }

.btn-back {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 12px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-back:hover {
    background: var(--muted);
    color: var(--foreground);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-text { color: var(--muted-foreground); font-size: 13px; font-weight: 500; }

.btn-google {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-google:hover {
    background: var(--muted);
    border-color: var(--border);
}

.btn-google svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
    .login-container { padding: 32px 24px; }
    .login-header h1 { font-size: 20px; }
}
