/* Fit CRM cabinet + auth (fit.smyalichi.ru) */

body.fit-app,
body.fit-auth {
    margin-top: 0;
}

body.fit-auth {
    background: #ecfdf5;
}

.fit-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fit-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.fit-auth-logo {
    font-size: 28px;
    font-weight: 800;
    color: #047857;
    letter-spacing: -0.02em;
}

.fit-auth-tagline {
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
}

.fit-auth-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(4, 120, 87, 0.08);
}

.fit-auth-title {
    font-size: 20px;
    margin: 0 0 8px;
}

.fit-auth-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.fit-auth-form label {
    display: block;
    font-size: 13px;
    margin: 12px 0 4px;
}

.fit-auth-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
}

.fit-auth-submit {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #059669;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fit-auth-submit:hover {
    background: #047857;
}

.fit-auth-alt-links {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.fit-auth-flash {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.fit-auth-flash--error {
    background: #fee2e2;
    color: #991b1b;
}

.fit-auth-flash--success {
    background: #d1fae5;
    color: #065f46;
}
