/* Currency Styles */
.currency-eur {
    color: #007bff !important;
    font-weight: 600;
}

.currency-usd {
    color: #28a745 !important;
    font-weight: 600;
}

.currency-try {
    color: #17a2b8 !important;
    font-weight: 600;
}

.currency-gbp {
    color: #ffc107 !important;
    font-weight: 600;
}

.currency-default {
    color: #6c757d !important;
    font-weight: 600;
}

.price-change-highlight {
    background-color: #fff3cd !important;
    border: 1px solid #ffeaa7;
    border-radius: 3px;
    padding: 2px 4px;
}

.price-old {
    text-decoration: line-through;
    color: #dc3545;
    font-size: 0.9em;
}

.price-new {
    color: #28a745;
    font-weight: bold;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-arrow {
    color: #ffc107;
    font-weight: bold;
}

.status-badge {
    font-size: 0.85em;
    padding: 4px 8px;
}

.status-beklemede {
    background-color: #ffc107;
    color: #212529;
}

.status-plasiyer-islemde {
    background-color: #17a2b8;
    color: white;
}

.status-yonetici-onayinda {
    background-color: #fd7e14;
    color: white;
}

.status-onaylandi {
    background-color: #28a745;
    color: white;
}

.status-reddedildi {
    background-color: #dc3545;
    color: white;
}

.status-eticarete-gonderildi {
    background-color: #6f42c1;
    color: white;
}

.log-action-badge {
    font-size: 0.8em;
    padding: 2px 6px;
}

.action-login {
    background-color: #28a745;
}

.action-logout {
    background-color: #6c757d;
}

.action-siparis-duzenle {
    background-color: #17a2b8;
}

.action-siparis-onayla {
    background-color: #28a745;
}

.action-siparis-reddet {
    background-color: #dc3545;
}

.action-fiyat-guncelle {
    background-color: #ffc107;
    color: #212529;
}

.action-plasiyer-atama {
    background-color: #fd7e14;
}

.action-bayi-atama {
    background-color: #20c997;
}

.card-stats {
    transition: transform 0.2s;
}

.card-stats:hover {
    transform: translateY(-5px);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #007bff;
    color: #fff;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.075);
}

.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin: 0 2px;
}

.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    height: 10px;
    width: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    border: 2px solid white;
}

.user-panel .info a {
    color: #c2c7d0;
}

.user-panel .info a:hover {
    color: #fff;
}

.form-group.required .control-label:after {
    content: " *";
    color: red;
}

.help-text {
    font-size: 0.875em;
    color: #6c757d;
    margin-top: 0.25rem;
}

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

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.success-message {
    color: #28a745;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.modal-header.bg-primary {
    color: white;
}

.modal-header.bg-warning {
    color: #212529;
}

.modal-header.bg-danger {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.content-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.small-box .inner h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.small-box .inner p {
    font-size: 1rem;
}

.nav-sidebar .nav-header {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1rem 0.5rem 1rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.btn-sm.btn-action {
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .content-wrapper, .main-footer, .main-header {
        margin-left: 0;
    }
    
    .sidebar-mini.sidebar-collapse .main-sidebar {
        margin-left: -250px;
    }
    
    .table-responsive {
        border: none;
    }
    
    .small-box .inner h3 {
        font-size: 1.5rem;
    }
}