/* balle.rs - made with ❤︎ by millicas */
:root {
    --primary-color: #6D5DD3;
    --primary-light: #7D6DD3;
    --background-color: #0A0A0A;
    --surface-color: #111111;
    --text-color: #F5F5F5;
    --text-muted: #888888;
    --border-color: #2A2A2A;
    --hover-bg: #1E1E1E;
    --card-border-radius: 12px;
    --transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-background);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.9375rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(109, 93, 211, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-button {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
}

.form-button:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(109, 93, 211, 0.25);
}

.auth-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.auth-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-container {
    animation: fadeIn 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 480px) {
    .auth-page {
        padding: 1.5rem;
    }
    
    .auth-container {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}