/* /var/www/bot/static/login.css */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg-page: #f3f4f6;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 380px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.brand-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    border-radius: 12px;
    margin-bottom: 24px;
}

h2 {
    margin: 0 0 8px;
    color: var(--text-main);
    font-size: 24px;
    font-weight: 600;
}

.subtitle {
    margin: 0 0 32px;
    color: var(--text-muted);
    font-size: 14px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
    user-select: none;
}
.toggle-password:hover { color: var(--text-muted); }

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.login-btn:hover { background-color: var(--primary-hover); }

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 16px;
    display: none;
}

.footer-links { margin-top: 24px; }
.footer-links a { color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }