/* Rental Search System — özel stiller */

:root {
    --sidebar-width: 240px;
    --brand: #0d6efd;
}

body {
    background-color: #f5f6fa;
}

/* --- Yerleşim --- */
.app-wrapper {
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: margin-left 0.25s ease;
}

.sidebar-brand {
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.75);
    border-radius: 0.4rem;
    margin-bottom: 0.15rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.925rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.sidebar-link.active {
    color: #fff;
    background-color: var(--brand);
    font-weight: 600;
}

.main-area {
    min-width: 0; /* içerik taşmasını önle */
}

.topbar {
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.content-area {
    flex: 1 0 auto;
}

.footer {
    background-color: #fff;
}

/* --- İstatistik kartları --- */
.stat-card .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* --- Turuncu badge (Bootstrap'te yok) --- */
.bg-orange {
    background-color: #fd7e14 !important;
    color: #fff !important;
}

/* --- Zaman çizelgesi --- */
.timeline .timeline-marker {
    padding-top: 0.2rem;
}

/* --- Login sayfası --- */
.login-page {
    min-height: 100vh;
}

/* --- Responsive: küçük ekranda sidebar gizle --- */
@media (max-width: 767.98px) {
    .sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
        position: fixed;
        z-index: 1030;
    }
    .sidebar.show {
        margin-left: 0;
    }
}

/* Tablolarda uzun metin taşmasını engelle */
.table td, .table th {
    vertical-align: middle;
}
