/* ==================== LOGO AYARLARI ==================== */

/* Auth Pages Logo (Login/Register) */
.m-account--form .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.m-account--form .logo img {
    max-width: 280px;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .m-account--form .logo img {
        max-width: 220px;
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .m-account--form .logo img {
        max-width: 180px;
        max-height: 65px;
    }
}

/* Navbar Logo */
.navbar--header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.navbar--header .logo img,
.navbar--header .logo-img {
    max-width: 220px !important;
    max-height: 75px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
}

.navbar--header {
    display: flex;
    align-items: center;
}

/* Responsive Navbar Logo */
@media (max-width: 768px) {
    .navbar--header .logo img,
    .navbar--header .logo-img {
        max-width: 180px !important;
        max-height: 60px !important;
    }
}

@media (max-width: 480px) {
    .navbar--header .logo img,
    .navbar--header .logo-img {
        max-width: 150px !important;
        max-height: 50px !important;
    }
}

/* ==================== SEPET BADGE ANIMASYONU ==================== */

.cart-badge-pulse {
    animation: badgePulse 0.6s ease-in-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
        background-color: #28a745 !important;
    }
    100% {
        transform: scale(1);
    }
}

/* ==================== MAIN CONTENT WRAPPER ==================== */

.main--content {
    padding: 0;
}

.row.gutter-20 {
    margin-left: -10px;
    margin-right: -10px;
}

.row.gutter-20 > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* ==================== DASHBOARD KARTLARI ==================== */

.miniStats--panel {
    text-align: center;
    padding: 20px;
}

.miniStats--icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.miniStats--caption {
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.miniStats--title {
    font-weight: 600;
    margin-bottom: 10px;
}

.miniStats--num {
    font-size: 2rem;
    font-weight: 700;
}

/* ==================== KULLANICI DURUMU ==================== */

.user-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.user-status.online {
    background-color: #28a745;
}

.user-status.offline {
    background-color: #6c757d;
}

.user-status.busy {
    background-color: #ffc107;
}

/* ==================== RESPONSIVE DÜZENLEMELER ==================== */

@media (max-width: 992px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sidebar {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .miniStats--panel {
        padding: 15px;
    }

    .miniStats--icon {
        font-size: 2rem;
    }

    .miniStats--num {
        font-size: 1.5rem;
    }
}

/* ==================== TABLO DÜZENLEMELERİ ==================== */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table.style--2 {
    margin-bottom: 0;
}

.table.style--2 th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #6c757d;
}

.table.style--2 td {
    vertical-align: middle;
}

/* ==================== LABEL/BADGE STILLER ==================== */

.label {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.label-success {
    background-color: #28a745;
}

.label-danger {
    background-color: #dc3545;
}

.label-warning {
    background-color: #ffc107;
    color: #212529;
}

.label-info {
    background-color: #17a2b8;
}

.label-primary {
    background-color: #007bff;
}

.label-default {
    background-color: #6c757d;
}

/* ==================== GRADIENT BACKGROUNDS ==================== */

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #1fa2ff 0%, #12d8fa 50%, #a6ffcb 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fad961 0%, #f76b1c 100%);
}

/* ==================== BİLDİRİM DROPDOWN ==================== */

.notification-dropdown {
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e7f3ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
}

.notification-icon.bg-blue {
    background-color: #007bff;
    color: white;
}

.notification-icon.bg-green {
    background-color: #28a745;
    color: white;
}

.notification-icon.bg-orange {
    background-color: #fd7e14;
    color: white;
}

.notification-icon.bg-red {
    background-color: #dc3545;
    color: white;
}

/* ==================== MESAJ SİSTEMİ ==================== */

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.message-bubble.sent {
    background-color: #007bff;
    color: white;
    margin-left: auto;
}

.message-bubble.received {
    background-color: #f1f3f5;
    color: #212529;
}

.message-timestamp {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 4px;
}

.message-image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.message-image-preview:hover {
    transform: scale(1.05);
}

/* ==================== FORM DÜZENLEMELERİ ==================== */

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #4f5fc7;
}

/* ==================== LOADING SPINNER ==================== */

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ==================== EMPTY STATE ==================== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #495057;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* ==================== PANEL İYİLEŞTİRMELERİ ==================== */

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.panel-heading {
    padding: 15px 20px;
    border-bottom: 2px solid #f0f0f0;
    background-color: #fafafa;
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.panel-body {
    padding: 20px;
}

.panel-content {
    padding: 20px;
}

/* ==================== ALERT LIGHT BACKGROUNDS ==================== */

.bg-warning-light {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.bg-info-light {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.bg-success-light {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

