.satrancdersi-front {
    background: #f5f7fb;
    min-height: 100vh;
}

.satrancdersi-front .navbar-brand img {
    max-height: 24px;
}

.satrancdersi-front .page-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #22c55e 120%);
    border: 0;
    color: #fff;
    box-shadow: 0 24px 60px rgba(29, 78, 216, 0.18);
}

.hero p,
.hero h1 {
    color: #fff;
}

.admin-sidebar {
    background: #0f172a;
    color: #e2e8f0;
}

.admin-sidebar .nav-link {
    color: #e2e8f0;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.city-card-link {
    border: 1px solid #dbe4f0;
    transition: transform .2s ease, box-shadow .2s ease;
    color: inherit;
}

.city-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.alert-soft-success {
    background: #e8fff2;
    border: 1px solid #9fe3bd;
    color: #13653c;
}

.alert-soft-danger {
    background: #fff0f0;
    border: 1px solid #f0b3b3;
    color: #8a1f1f;
}

.form-select {
    display: block;
    width: 100%;
    height: calc(2.5125rem + 2px);
    padding: .625rem 2.25rem .625rem .75rem;
    line-height: 1.5;
    color: #495057;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5l2-2H0z'/%3E%3C/svg%3E") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .5rem;
    appearance: none;
}

.g-2,
.g-3 {
    margin-right: -.75rem;
    margin-left: -.75rem;
}

.g-2 > [class*='col-'],
.g-2 > [class^='col-'],
.g-3 > [class*='col-'],
.g-3 > [class^='col-'] {
    padding-right: .75rem;
    padding-left: .75rem;
}

.g-2 > [class*='col-'],
.g-2 > [class^='col-'] {
    margin-bottom: 1rem;
}

.g-3 > [class*='col-'],
.g-3 > [class^='col-'] {
    margin-bottom: 1.5rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.78);
}

.satranc-hero,
.satranc-dashboard-hero,
.satranc-profile-hero,
.satranc-city-hero {
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(29, 78, 216, 0.18);
}

.satranc-floating-card {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.satranc-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.satranc-stat-tile {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.satranc-stat-tile strong {
    display: block;
    font-size: 1.25rem;
    color: #0f172a;
}

.satranc-stat-tile span {
    display: block;
    font-size: .8rem;
    color: #64748b;
}

.satranc-list-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
    color: #64748b;
    font-size: .92rem;
}

.satranc-list-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.satranc-list-line strong {
    color: #0f172a;
    font-weight: 700;
}

.satranc-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.satranc-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: .82rem;
    font-weight: 600;
}

.satranc-pill-light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.satranc-city-card,
.satranc-profile-card,
.satranc-feed-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.satranc-city-card:hover,
.satranc-profile-card:hover,
.satranc-feed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.satranc-review-item {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
}

.satranc-review-item:last-child {
    margin-bottom: 0;
}

/* Shared enhanced select style */
.satranc-select,
.satranc-register-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #cfd6e4;
    border-radius: 0.5rem;
    min-height: 42px;
    padding-right: 2.2rem;
    background-color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #5d6a85 50%), linear-gradient(135deg, #5d6a85 50%, transparent 50%);
    background-position: calc(100% - 17px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.satranc-select:focus,
.satranc-register-form .form-select:focus {
    border-color: #5567ff;
    box-shadow: 0 0 0 0.15rem rgba(85, 103, 255, 0.16);
}

@media (max-width: 991.98px) {
    .satranc-hero,
    .satranc-dashboard-hero,
    .satranc-profile-hero,
    .satranc-city-hero {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .satranc-stat-grid {
        grid-template-columns: 1fr;
    }

    .satranc-pill-row {
        justify-content: center;
    }

    .satranc-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .satranc-hero-actions .btn {
        width: 100%;
        margin-right: 0;
    }
}

/* =========================================================
   TAKVIM (Calendar) bileşeni
   ========================================================= */
.satranc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.satranc-cal-header {
    background: #f8f9fa;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 2px;
    color: #6c757d;
}

.satranc-cal-cell {
    background: #fff;
    min-height: 80px;
    padding: 4px;
    vertical-align: top;
    position: relative;
}

.satranc-cal-cell.satranc-cal-empty {
    background: #fafafa;
    min-height: 80px;
}

.satranc-cal-cell.satranc-cal-today {
    background: #fff8f0;
    border: 2px solid #f76707;
}

.satranc-cal-day-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
    display: block;
}

.satranc-cal-cell.satranc-cal-today .satranc-cal-day-num {
    color: #f76707;
}

.satranc-cal-ev {
    display: block;
    font-size: 0.65rem;
    line-height: 1.3;
    background: #4dabf7;
    color: #fff;
    border-radius: 3px;
    padding: 1px 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.satranc-cal-ev.satranc-cal-ev-done {
    background: #adb5bd;
    text-decoration: line-through;
}

.satranc-cal-ev.satranc-cal-ev-cancelled {
    background: #f8d7da;
    color: #842029;
    text-decoration: line-through;
}

@media (max-width: 767.98px) {
    .satranc-cal-cell {
        min-height: 48px;
        padding: 2px;
    }

    .satranc-cal-ev {
        display: none;
    }

    .satranc-cal-ev:first-of-type {
        display: block;
    }

    .satranc-cal-cell.satranc-cal-empty {
        min-height: 48px;
    }
}
