:root {
    --brand-yellow: #E8C547;
    --brand-yellow-hover: #dcb32f;
    --bg-outer: #050505;
    --bg-card: #111111;
    --input-bg: #1a1a1a;
    --border-color: #2a2a2a;
    --text-white: #ffffff;
    --text-muted: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

body {
    background: radial-gradient(circle at center, #181818 0%, #000000 100%);
    color: var(--text-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 420px;
    max-width: 100%;
    background: var(--bg-card); 
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

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

/* Nowe style dla ikon SVG */
.brand-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-yellow);
    margin-bottom: 15px;
    display: inline-block;
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}
.brand-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.tabs {
    display: flex;
    background: var(--input-bg);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--text-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.form-group { margin-bottom: 18px; }

.input-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s ease;
}

.input-field:focus {
    border-color: var(--brand-yellow);
    background: #222;
}

.btn-primary {
    width: 100%;
    background-color: var(--brand-yellow);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--brand-yellow-hover);
}

/* Ikony w przyciskach */
.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.upgrade-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: center;
}

.form-section { display: none; }
.form-section.active { display: block; animation: slideUp 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
