/* Apartman360 - Custom Styles */

/* Genel */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    margin: 2px 8px;
    font-size: 0.9rem;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Ana İçerik */
main {
    min-height: calc(100vh - 70px);
}

/* Kartlar */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Border Start Kartları */
.border-start { border-left-width: 4px !important; }

/* Tablolar */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Badge */
.badge {
    font-weight: 500;
    font-size: 0.8rem;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Login Sayfası */
body.bg-light .card {
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    main {
        margin-left: 0 !important;
    }

    .col-md-10 {
        width: 100%;
    }
}

/* Buton hover efektleri */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover {
    transform: scale(1.05);
}

/* WhatsApp butonu */
.whatsappBtn {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
}

.whatsappBtn:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
}

/* Breadcrumb navigasyonu */
h1 .text-muted {
    font-size: 0.9em;
}

h1 .mx-2 {
    color: #adb5bd;
}

/* Modal */
.modal-header {
    background-color: #f8f9fa;
}

/* Footer */
.card-footer {
    background-color: #fff;
}

/* Responsive tablo */
.table-responsive {
    overflow-x: auto;
}

/* Toast bildirimleri */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}
