@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    background-color: #f5f6f8;
    font-family: Inter, system-ui, sans-serif;
    color: #16181d;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* Logowanie */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    max-width: 360px;
    width: 90%;
    background-color: white;
    padding: 32px;
    border: 1px solid #e3e5e9;
    border-radius: 12px;
    box-sizing: border-box;
}

.login-box h2 {
    font-size: 20px;
    font-weight: 600;
}

.login-btn {
    width: 100%;
    height: 44px;
    background-color: #1f4fd1;
    color: white;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #163a9e;
}

/* Dash 4: className lands on the wrapper div, the real <input> is .dash-input-element */
.full-width-input {
    width: 100%;
    height: auto;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #d5d8de;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.full-width-input .dash-input-element {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

/* Dashboard */
.dashboard-header {
    background-color: white;
    border-bottom: 1px solid #e3e5e9;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.dashboard-header p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #5b616e;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.content-card {
    background-color: white;
    padding: 24px;
    border: 1px solid #e3e5e9;
    border-radius: 12px;
    margin: 0 24px 20px;
}

.content-card h2 {
    font-size: 16px;
    font-weight: 600;
}

.refresh-btn {
    height: 40px;
    padding: 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    background-color: white;
    color: #16181d;
    border: 1px solid #d5d8de;
    border-radius: 8px;
    cursor: pointer;
}

.refresh-btn:hover {
    background-color: #f5f6f8;
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.bold-label {
    font-size: 13px;
    font-weight: 500;
    color: #3a3f4a;
    margin-bottom: 6px;
    display: block;
}

.text-center { text-align: center; }
.mb-30 { margin-bottom: 24px; }
.update-text { font-size: 13px; color: #5b616e; }

/* WoW Tables */
.content-card table {
    width: 100%;
    border-collapse: collapse;
}

.content-card table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: #5b616e;
    border-bottom: 1px solid #e3e5e9;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.content-card table td {
    padding: 10px 12px;
}

.content-card table tbody tr:hover {
    background-color: #f5f6f8;
}
