/* Login Page Styles */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-page-body {
    margin: 0;
    padding: 0;
    background: #3b82f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.login-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.login-form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.login-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.login-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    width: 100%;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.login-btn:active {
    transform: translateY(0);
}

.login-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ffcdd2;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Index page styles */
.features {
    margin-top: 40px;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
}

.feature-icon {
    margin-right: 15px;
    font-size: 1.2em;
} 


.auth-register-container { max-width: 980px; }
    .auth-logo { text-align: center; margin-bottom: 12px; }
    .auth-logo img { height: 80px; width: auto; }
    .auth-subtitle { text-align: center; margin-bottom: 24px; }
    .auth-panels { display: grid; grid-template-columns: 1fr; gap: 24px; }
    .auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .login-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #1e293b;
    }

    .auth-input,
    .auth-select,
    .login-form-group input,
    .login-form-group select {
        width: 100%;
        height: 46px;
        padding: 0 14px;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        background: #fff;
        font-size: 16px;
        color: #0f172a;
        box-sizing: border-box;
    }

    .auth-tariff-group { margin-top: 16px; }
    .auth-section-label { display: block; margin-bottom: 10px; font-weight: 600; }

    .auth-tariff-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .auth-tariff-card {
        position: relative;
        border: 1px solid #cbd5e1;
        border-radius: 14px;
        padding: 18px;
        cursor: pointer;
        display: block;
        background: #fff;
        transition: all 0.2s ease;
    }

    .auth-tariff-card:hover {
        border-color: #94a3b8;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    }

    .auth-tariff-card strong {
        display: block;
        margin-top: 0;
        font-size: 22px;
        color: #0f172a;
    }

    .auth-tariff-card span {
        display: block;
        color: #64748b;
        font-size: 14px;
        margin-top: 6px;
        line-height: 1.4;
    }

    .auth-tariff-radio {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .auth-tariff-card.is-selected {
        border-color: #2563eb;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
        background: #eff6ff;
    }

    .auth-back-link { text-align: center; margin-top: 18px; }
    .auth-back-link a { color: #666; text-decoration: none; font-size: 0.9em; }

    @media (max-width: 768px) {
        .auth-grid,
        .auth-tariff-grid {
            grid-template-columns: 1fr;
        }
    }
