/* === Yachtabelka custom login background (LOGIN PAGE ONLY) === */
body.task-login,
body.task-login #layout {
    background: #f4f4f4 url('bg-yachta.jpg') center center / cover no-repeat fixed !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}
body.task-login #login-form {
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important;
    padding: 24px !important;
    max-width: 480px !important;
    margin: 0 auto !important;
}
body.task-login #login-form .title,
body.task-login #login-form h1.voice + .form-input .form-control::placeholder {
    color: #0a3d62 !important;
}
body.task-login #login-form label {
    color: #0a3d62 !important;
    font-weight: 600 !important;
}
body.task-login #login-form .button.mainaction,
body.task-login #login-form button[type="submit"] {
    background: #0a3d62 !important;
    border-color: #0a3d62 !important;
    border-radius: 4px !important;
}
body.task-login #login-form a,
body.task-login #login-form .formlinks a,
body.task-login #login-form p.help a {
    color: #0a3d62 !important;
}

/* === NEUTRAL bg for all other tasks (mail, settings, addressbook, compose, prefs) === */
body.task-mail,
body.task-settings,
body.task-addressbook,
body.task-compose,
body.task-prefs,
body.task-folder,
body.task-logout {
    background: #f4f4f4 !important;
    background-image: none !important;
}


/* === TEXT CONTRAST (inbox readability — was light gray) === */
body.task-mail,
body.task-mail #message-list,
body.task-mail .message,
body.task-mail .subject,
body.task-mail .from,
body.task-mail .date,
body.task-mail #folderlist,
body.task-mail #messagelist {
    color: #000 !important;
}
body.task-mail .subject a,
body.task-mail .from a,
body.task-mail a {
    color: #000 !important;
}
body.task-mail .message.unread .subject,
body.task-mail .message.unread .from {
    color: #000 !important;
    font-weight: 700 !important;
}
body.task-mail #folderlist a,
body.task-mail #folderlist li {
    color: #000 !important;
}
body.task-mail table,
body.task-mail td,
body.task-mail th {
    color: #000 !important;
}
