body {
    font-family: Arial, sans-serif;
    background: #f6f7f9;
    margin: 0;
    color: #222;
}

.container {
    max-width: 960px;
    margin: 24px auto;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.container.wide {
    max-width: 1200px;
}

h1, h2, h3 {
    margin-top: 0;
}

form .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    min-height: 120px;
}

.full {
    grid-column: span 2;
}

.actions {
    margin-top: 16px;
}

button {
    background: #006bb3;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
}

button.secondary {
    background: #666;
}

.alert {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.alert.success {
    background: #e7f7ed;
    color: #0b6a2b;
}

.alert.error {
    background: #fde8e8;
    color: #8a1c1c;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.table th {
    background: #f1f1f1;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #f1f1f1;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    background: #eee;
}

.nav {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.nav a {
    text-decoration: none;
    color: #006bb3;
}

.muted {
    color: #666;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel,
.card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.panel-header input[type="search"] {
    max-width: 240px;
}

.scroll {
    max-height: 360px;
    overflow: auto;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list li {
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.list li:last-child {
    border-bottom: none;
}

.list a {
    text-decoration: none;
    color: #006bb3;
}

.list .meta {
    font-size: 12px;
    color: #666;
}

.actions.row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.checkbox-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 10px;
}

.checkbox-list label {
    font-weight: normal;
    margin-bottom: 0;
}

.stack {
    display: grid;
    gap: 16px;
}

.split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
}

.toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.section-title {
    margin: 0 0 8px 0;
}

.card h3 {
    margin-top: 0;
}

.card .muted {
    margin-top: 0;
}

.list.compact li {
    padding: 6px 10px;
}

.tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    background: #eaf2ff;
    color: #2b5bb3;
    font-size: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 12px 0 18px;
}

.stat-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.stat-value {
    font-size: 26px;
    font-weight: bold;
    margin-top: 4px;
}

.stat-card.warn {
    border-color: #f3d188;
    background: #fff8e7;
}

.stat-card.info {
    border-color: #b7d7ff;
    background: #eff6ff;
}

.stat-card.success {
    border-color: #b6e2c3;
    background: #eef9f1;
}

.stat-card.danger {
    border-color: #f3b6b6;
    background: #fff0f0;
}

tr.status-beklemede td {
    background: #fff8e7;
}

tr.status-gorusuldu td {
    background: #fff;
}

tr.status-uye_oldu td {
    background: #eef9f1;
}

tr.status-olumsuz td {
    background: #fff0f0;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.filter-row label {
    white-space: nowrap;
}

.login-page {
    background: linear-gradient(180deg, #eef2f7 0%, #f6f7f9 100%);
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e7ebf0;
}

.login-header h1 {
    margin: 12px 0 6px;
}

.login-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2b5bb3;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

.login-card .grid {
    grid-template-columns: 1fr;
}

.login-card input[type="text"],
.login-card input[type="password"] {
    padding: 12px 12px;
    border-radius: 8px;
    border: 1px solid #d5dbe3;
}

.login-card button {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
}

.login-footnote {
    margin-top: 16px;
    font-size: 12px;
}

.filter-row .toolbar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.filter-row .search-row input[type="search"] {
    min-width: 220px;
    flex: 1;
}
