/* Style dla formularzy logowania i rejestracji */

:root {
    --auth-bg-color: #121212;
    --auth-card-bg: #1e1e1e;
    --auth-input-bg: #2a2a2a;
    --auth-input-text: #e0e0e0;
    --auth-input-border: #333333;
    --auth-input-focus-border: #4285f4;
    --auth-text-color: #e0e0e0;
    --auth-secondary-text: #b0b0b0;
    --auth-primary-color: #4285f4;
    --auth-error-color: #e74c3c;
    --auth-success-color: #2ecc71;
    --auth-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--auth-bg-color);
    color: var(--auth-text-color);
    font-family: 'Roboto', sans-serif;
}

.auth-container {
    width: 400px;
    padding: 30px;
    background-color: var(--auth-card-bg);
    border-radius: 8px;
    box-shadow: var(--auth-shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header img {
    height: 80px;
    margin-bottom: 15px;
}

.auth-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--auth-text-color);
}

.auth-form {
    margin-bottom: 20px;
}

.auth-form div {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--auth-secondary-text);
}

.auth-form input {
    width: 100%;
    padding: 12px;
    background-color: var(--auth-input-bg);
    border: 1px solid var(--auth-input-border);
    border-radius: 4px;
    color: var(--auth-input-text);
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--auth-input-focus-border);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.auth-btn {
    width: 100%;
    background-color: var(--auth-primary-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--auth-secondary-text);
}

.auth-footer a {
    color: var(--auth-primary-color);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--auth-error-color);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.success-message {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--auth-success-color);
    border: 1px solid rgba(46, 204, 113, 0.3);
}
