﻿body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Arial, sans-serif; /* Comic Sans yerine daha profesyonel bir font */
    font-size: 14px;
    color: #333;
}

.main-content {
    margin-top: 60px;
    padding: 20px;
}

/* YENİ - Güncellenmiş Navbar Stilleri */
.navbar {
    padding: 0.5rem 1rem;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    min-height: 70px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav {
    padding-left: 30px !important;
}

/* YENİ - Gelişmiş Dropdown Stilleri */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    color: #4a5568;
    font-size: 0.9rem;
    transition: all 0.2s;
}

    .dropdown-item:hover {
        background-color: #f7fafc;
        color: #2d3748;
    }

    .dropdown-item i {
        margin-right: 0.5rem;
        width: 20px;
        text-align: center;
    }

.nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .nav-link:hover {
        color: #2d3748 !important;
    }

    .nav-link i {
        font-size: 1.1rem;
    }

/* Kart stilleri */
.card {
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,.1);
    }

.stat-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,.2);
    }

/* Tablo stilleri */
.table {
    margin-bottom: 0;
}

    .table th {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        color: #6c757d;
    }

    .table td {
        vertical-align: middle;
    }

    .table tbody tr {
        transition: background-color 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: rgba(0,0,0,.02);
        }

/* Buton stilleri */
.btn {
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.btn-group .btn {
    padding: 0.25rem 0.5rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Badge stilleri */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    border-radius: 4px;
}

/* Form elemanları */
.form-control {
    border-radius: 5px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

    .form-control:focus {
        box-shadow: 0 0 0 0.2rem rgba(52,152,219,.25);
        border-color: #3498db;
    }

/* Pagination stilleri */
.pagination .page-link {
    border-radius: 4px;
    margin: 0 2px;
    color: #2c3e50;
}

.pagination .page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .main-content {
        padding: 10px;
    }

    .stat-card {
        margin-bottom: 15px;
    }

    .table-responsive {
        border-radius: 8px;
    }
}
/* Tablo için ek stiller */
.table th {
    white-space: nowrap;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 13px;
}

.table td {
    vertical-align: middle;
    font-size: 13px;
}

/* Badge stilleri */
.badge {
    font-size: 11px;
    padding: 0.5em 0.8em;
    font-weight: 500;
}

    .badge.bg-success {
        background-color: #28a745 !important;
    }

    .badge.bg-warning {
        background-color: #ffc107 !important;
        color: #000;
    }

    .badge.bg-info {
        background-color: #17a2b8 !important;
    }

    .badge.bg-secondary {
        background-color: #6c757d !important;
    }

/* Fatura ve Etiket ikonları için stiller */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.fa-file-invoice, .fa-tag {
    cursor: pointer;
    transition: transform 0.2s;
}

    .fa-file-invoice:hover, .fa-tag:hover {
        transform: scale(1.1);
    }

/* İşlem butonları için stiller */
.btn-group .btn {
    padding: 0.25rem 0.4rem;
    font-size: 12px;
}

    .btn-group .btn:hover {
        z-index: 2;
        transform: translateY(-1px);
    }

/* Responsive tasarım için scroll özelliği */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    border-radius: 8px;
}

/* Tooltip için stil */
[title] {
    position: relative;
    cursor: pointer;
}

.dashboard-container {
    padding: 2rem;
    background-color: #f8f9fa;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.date-time {
    color: #6c757d;
    font-size: 0.9rem;
}

.summary-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

    .summary-card:hover {
        transform: translateY(-5px);
    }

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.new-orders .card-icon {
    background: rgba(47, 128, 237, 0.1);
    color: #2F80ED;
}

.processing .card-icon {
    background: rgba(255, 153, 0, 0.1);
    color: #FF9900;
}

.packaging .card-icon {
    background: rgba(75, 192, 192, 0.1);
    color: #4BC0C0;
}

.shipping .card-icon {
    background: rgba(54, 162, 235, 0.1);
    color: #36A2EB;
}

.card-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.card-info p {
    color: #6c757d;
    margin: 0.3rem 0;
}

.trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .trend.up {
        color: #4CAF50;
    }

    .trend.down {
        color: #F44336;
    }

.dashboard-card {
    background: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .dashboard-card .card-header {
        background: none;
        border-bottom: 1px solid #eee;
        padding: 1.2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.activity-stream {
    padding: 1rem 0;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
}

.activity-content p {
    margin: 0;
}

.table {
    margin: 0;
}

    .table th {
        font-weight: 600;
        color: #2c3e50;
    }

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .summary-card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .detail-section {
        grid-template-columns: 1fr;
    }

    .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .cargo-slip {
        padding: 1rem;
    }

    .cargo-slip-modal-header {
        padding: 1rem;
    }

    .cargo-slip-barcode-container {
        max-width: 100%;
    }
}

/* YENİ - Kullanıcı Profili Stilleri */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background-color: #4299e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    color: #718096;
}

/* YENİ - Aktif Menü Stilleri */
.nav-link.active {
    color: #3182ce !important;
    background-color: rgba(49, 130, 206, 0.1);
    border-radius: 0.375rem;
}

/* YENİ - Hover Efektleri */
.nav-link:hover i {
    transform: translateY(-1px);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* YENİ - Responsive Navbar Stilleri */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .user-profile {
        margin-top: 1rem;
        padding: 1rem;
        background-color: #f7fafc;
        border-radius: 0.5rem;
    }
}

/* YENİ - Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

