/* =========================================
   HOSTCONTROL - PREMIUM STYLESHEET
========================================= */

:root {
    --brand-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --dark-bg: #0b0f1a;
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-pure: #ffffff;
    --text-dim: #94a3b8;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-pure);
    overflow: hidden;
}

/* --- LAYOUT SPLIT-SCREEN --- */
.auth-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* =========================================
   LEWA STRONA (Visual & Funkcje)
========================================= */
.auth-visual {
    flex: 1.2;
    position: relative;
    /* Eleganckie architektoniczne zdjęcie biura */
    background: url('https://images.unsplash.com/photo-1497215848122-4a0b25e21958?auto=format&fit=crop&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.visual-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Płynny gradient od ciemnego granatu do półprzezroczystości */
    background: linear-gradient(135deg, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0.5) 100%);
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.visual-content h2 {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-desc {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 50px;
}

/* --- Karty Funkcji (Glassmorphism) --- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 20px 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-radius: 12px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   PRAWA STRONA (Formularz Autoryzacji)
========================================= */
.auth-form-section {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    padding: 40px;
    border-left: 1px solid var(--glass-border);
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
}

.brand-top {
    margin-bottom: 50px;
}

.brand-top h1 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.brand-top h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Inputy --- */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 0;
    color: #475569;
    transition: 0.3s;
}

.input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #1e293b;
    padding: 12px 12px 12px 35px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-bottom-color: #6366f1;
}

.input-wrapper input:focus + i {
    color: #6366f1;
}

/* --- Przycisk Premium --- */
.btn-huge {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}

.btn-huge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    filter: brightness(1.1);
}

/* --- Dodatki --- */
.hidden {
    display: none;
}

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

.footer-text a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.footer-text a:hover {
    color: #a855f7;
}