/* ============================================================
   BUS Platform – stylesheet complet
   ============================================================ */

/* ---------- 1. Variabile & reset ---------- */
:root {
    /* paletă de bază */
    --bg: #f7f9fb;
    --fg: #222;
    --primary: #0069ed;
    --muted: #6b7280;

    /* UI */
    --radius: .75rem;
    --shadow: 0 3px 6px rgba(0,0,0,.06);

    /* tipografie */
    font-family: system-ui, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- 2. Layout global ---------- */
body {
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- 3. Header cu logo + switch limbă ---------- */
.site-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: .5rem 1rem;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
}

/* switch limbă */
.lang-switch .flag {
    display: inline-block;
    margin-left: .5rem;
    border-radius: 50%;
    overflow: hidden;
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    transition: border-color .2s ease, transform .2s ease;
}

.lang-switch .flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-switch .flag:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.lang-switch .flag.active {
    border-color: var(--primary);
}

/* ---------- 4. Footer ---------- */
.site-footer {
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    margin-top: auto;
    padding: 1.5rem .5rem;
    text-align: center;
    font-size: .9rem;
}

.contact p { margin: .25rem 0; }
.contact a { color: inherit; text-decoration: underline; }

/* ---------- 5. Pagina de întâmpinare ---------- */
.welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}

.welcome h1 {
    font-size: clamp(1.9rem, 4vw + 1rem, 2.8rem);
    margin-bottom: .5rem;
}

.tagline {
    color: var(--muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.cta-wrapper {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- 6. Butoane ---------- */
.btn {
    padding: .75rem 2.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.outlined {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #fff;
}

.outlined:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- 7. Container generic (login, register etc.) ---------- */
.container {
    max-width: 420px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* ---------- 8. Logo dimensiune adaptivă (fallback) ---------- */
@media (max-width: 480px) {
    .logo img { height: 40px; }
}


/* Header - container */
.site-header .header-inner {
    display: flex;
    align-items: center;
    gap: 1rem; /* spațiu între elemente */
}

/* Text elegant „Tacho” */

.brand-text {
    font-family: 'Pacifico', cursive;
    font-size: 2.4rem;
    font-weight: 400;
    color: #2c3e50;
    letter-spacing: 0.06em;
    user-select: none;
    white-space: nowrap;

    /* Înclinare text */
    font-style: normal;
    transform: skew(-12deg); /* înclinare spre stânga */

    /* opțional - umbră pentru mai mult contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}


.form-vertical {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.form-vertical label {
    font-weight: bold;
    margin-bottom: 4px;
}

.form-vertical input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.form-vertical button {
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.form-vertical button:hover {
    background-color: #0056b3;
}

.btn-space {
    margin-top: 1.5rem;
    display: inline-block;
}

.vertical-form label {
    display: block;
    margin-bottom: 1rem;
}

.vertical-form input {
    display: block;
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    box-sizing: border-box;
}

.avatar-container {
    margin-left: 1em;
}

.user-avatar {
    width: 40px !important;
    height: 40px !important;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination a {
    text-decoration: none;
    margin: 0 20px;
    font-size: 40px; /* MĂRIME MAI MARE */
    color: #333;
    font-weight: bold;
    transition: transform 0.2s ease;
}
.pagination a:hover {
    transform: scale(1.2); /* animatie la hover */
    color: #000;
}
