:root {
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --success: #34c759;
    --danger: #ff3b30;
    --warning: #ff9500;
    --bg-light: #f5f5f7;
    --card-bg: rgba(255, 255, 255, .5);
    --border-color: rgba(210, 210, 217, 0.4);
    --text-main: #1d1d1f;
    --text-secondary: #6e6e73;
    --glass-blur: blur(10px);
    --transition: all 0.25s ease-in-out;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.47059;
    overflow-x: hidden;
    letter-spacing: -0.011em;
}

a {
    color: initial;
    text-decoration: none;
}

.main-content {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    min-height: calc(100vh - 100px);
}

.login-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.login-card form {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.toast {
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    user-select: none;
    z-index: 9999;
    transition: opacity .3s ease, transform .3s ease;
}

.toast.fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.toast.inline {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.success {
    background-color: #28a745;
}

.error {
    background-color: #dc3545;
}

.warning {
    color: #1a1a1a;
    background-color: #ffc107;
}

.info {
    background-color: #17a2b8;
}