:root {
    --myevent-primary: #2154ff;
    --myevent-light: #F7F9FC;
}

body {
    background-color: var(--myevent-light);
}

/* ===== LOGOWANIE ===== */
.login-view {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--myevent-light);
}

.login-wrapper {
    width: 450px;
    padding: 20px;
    max-width: 100%;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.login-card h2 {
    color: var(--myevent-primary);
}

/* ===== PRZYCISKI - tylko custom kolory ===== */
.btn-primary {
    background-color: var(--myevent-primary);
    border-color: var(--myevent-primary);
}

.btn-primary:hover {
    background-color: #1a44cc;
    border-color: #1a44cc;
}

.btn-outline-light:hover {
    filter: brightness(0.95);
}

/* ===== NAWIGACJA ===== */
.navbar-myevent {
    background: var(--myevent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-navbar {
    max-width: 120px;
    height: auto;
}

.navbar-brand-text {
    color: white;
}

/* ===== TABELA ===== */
.table-header-myevent {
    background-color: var(--myevent-primary);
    color: white;
}

.table-header-myevent th {
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 16px;
}

.table tbody tr:hover {
    background-color: rgba(33, 84, 255, 0.05);
}

/* ===== SEKCJA LISTY ===== */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.list-header h3 {
    color: #000000;
    font-weight: 700;
    margin: 0;
}

.search-input {
    max-width: 300px;
}

/* ===== WALIDACJA ===== */
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.btn {
    white-space: nowrap !important;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
    }

    .list-header {
        flex-direction: column;
        align-items: stretch;
    }

    .list-header h3 {
        width: 100%;
    }

    .list-header .d-flex {
        width: 100%;
        flex-direction: column;
    }

    .search-input {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .navbar-brand-text {
        display: none;
    }

    .btn-sm {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}
