@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Чист, светъл фон */
    color: #1e293b; /* Тъмно сив модерен текст */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.logo span {
    color: #2563eb; /* Класическо софтуерно синьо */
}

.subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Изчистена бяла Apple-style карта със силна сянка */
.white-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.white-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
}

.card-desc {
    color: #64748b;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 12px 12px 36px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Изчистени бутони */
button {
    width: 100%;
    padding: 12px;
    background: #0f172a; /* Стилно черно */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #1e293b;
}

.btn-main {
    background: #2563eb; /* Синьо за главния екшън бутон */
    font-weight: 600;
}

.btn-main:hover {
    background: #1d4ed8;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.dash-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.status-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.settings-toggle {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    cursor: pointer;
    margin-top: 15px;
    transition: color 0.2s;
}

.settings-toggle:hover {
    color: #2563eb;
}

.status-box {
    margin-top: 15px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #475569;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.text-primary { color: #2563eb; }