* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    color: #0d47a1;
}

.header {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white;
    padding: 20px 40px;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header h1 i {
    font-size: 32px;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.15);
    padding: 30px;
    margin-bottom: 25px;
    border-top: 4px solid #1976d2;
}

.card-title {
    font-size: 22px;
    color: #0d47a1;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e3f2fd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #bbdefb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f5f9ff;
    color: #0d47a1;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1976d2;
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.btn i {
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #78909c 0%, #546e7a 100%);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(120, 144, 156, 0.4);
}

.btn-sm {
    padding: 7px 13px;
    font-size: 13px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: white;
}

table thead th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tbody tr {
    border-bottom: 1px solid #e3f2fd;
    transition: background 0.2s;
}

table tbody tr:hover {
    background: #e3f2fd;
}

table tbody td {
    padding: 12px;
    color: #1565c0;
    font-size: 14px;
}

table tbody tr:nth-child(even) {
    background: #f5f9ff;
}

table tbody tr:nth-child(even):hover {
    background: #e3f2fd;
}

.actions {
    display: flex;
    gap: 6px;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e3f2fd;
    color: #0d47a1;
    border-left: 4px solid #1976d2;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 9px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #1565c0;
    background: white;
    border: 2px solid #bbdefb;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination a:hover {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
}

.pagination .active {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: white;
    border-color: #0d47a1;
}

.pagination .disabled {
    color: #b0bec5;
    background: #f5f5f5;
    cursor: not-allowed;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-box input {
    padding: 10px 14px;
    border: 2px solid #bbdefb;
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
    background: #f5f9ff;
}

.search-box input:focus {
    outline: none;
    border-color: #1976d2;
    background: white;
}

.info-text {
    color: #1565c0;
    font-size: 14px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #78909c;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 15px;
    color: #bbdefb;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    .header h1 {
        font-size: 22px;
    }
    table {
        font-size: 12px;
    }
    .search-box input {
        width: 100%;
    }
}

/* ==== Üye/Onay/Takım ek stilleri ==== */
.field-group {
    background: #f5f9ff;
    border: 2px dashed #bbdefb;
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
}
.field-group h3 {
    color: #1565c0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}
.field-group .hint { color: #546e7a; font-size: 13px; margin-bottom: 12px; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.badge-ilk    { background: #e8f5e9; color: #2e7d32; }
.badge-orta   { background: #fff3e0; color: #ef6c00; }
.badge-lise   { background: #e3f2fd; color: #0d47a1; }
.badge-info   { background: #e3f2fd; color: #1565c0; }
.badge-light  { background: #f5f9ff; color: #455a64; border: 1px solid #bbdefb; }

.uye-list {
    line-height: 1.5;
}
.uye-list .tc {
    color: #78909c;
    font-size: 12px;
    font-family: "SF Mono", Consolas, monospace;
}

.onay-card {
    max-width: 520px;
    margin: 50px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.25);
    border-top: 5px solid #1976d2;
    padding: 40px 30px;
    text-align: center;
}
.onay-card .icon-circle {
    width: 90px; height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    box-shadow: 0 6px 18px rgba(13, 71, 161, 0.35);
}
.onay-card.success .icon-circle { background: linear-gradient(135deg, #2e7d32, #1b5e20); box-shadow: 0 6px 18px rgba(46,125,50,0.35); }
.onay-card.error   .icon-circle { background: linear-gradient(135deg, #c62828, #b71c1c); box-shadow: 0 6px 18px rgba(198,40,40,0.35); }
.onay-card h2 { color: #0d47a1; margin-bottom: 10px; font-size: 22px; }
.onay-card p  { color: #455a64; margin-bottom: 18px; line-height: 1.6; }
.onay-card .onay-link {
    word-break: break-all;
    background: #f5f9ff;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 10px;
    font-size: 12px;
    color: #1565c0;
    margin: 15px 0;
    display: block;
}
.readonly-input {
    background: #e3f2fd !important;
    cursor: not-allowed;
    color: #455a64 !important;
}