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

/* Login Page */
.login-container {
    max-width: 420px;
    margin: 100px auto;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-container .card-header {
    background-color: #4e73df;
    color: white;
    text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 20px;
}

.login-logo {
    margin-bottom: 20px;
    text-align: center;
}

/* Sidebar */
#sidebar {
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

#sidebar .nav-link {
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 5px;
    transition: all 0.3s;
}

#sidebar .nav-link:hover {
    background-color: #38404b;
}

#sidebar .nav-link.active {
    background-color: #4e73df;
}

/* Main Content */
main {
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #eef2f7;
    padding: 15px 20px;
}

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

.card-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(to right, #4e73df, #6182e0);
}

.bg-gradient-success {
    background: linear-gradient(to right, #1cc88a, #3eda9a);
}

.bg-gradient-info {
    background: linear-gradient(to right, #36b9cc, #5ccada);
}

.bg-gradient-warning {
    background: linear-gradient(to right, #f6c23e, #f8d264);
}

/* Tables */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px;
}

table.dataTable thead th {
    background-color: #f8f9fc;
    color: #5a5c69;
    font-weight: 600;
    border-top: none;
}

table.dataTable tbody tr:hover {
    background-color: #f8f9fc;
}

/* Buttons */
.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
}

.btn-success {
    background-color: #1cc88a;
    border-color: #1cc88a;
}

.btn-success:hover {
    background-color: #17a673;
    border-color: #17a673;
}

.btn-info {
    background-color: #36b9cc;
    border-color: #36b9cc;
}

.btn-info:hover {
    background-color: #2c9faf;
    border-color: #2c9faf;
}

.btn-warning {
    background-color: #f6c23e;
    border-color: #f6c23e;
}

.btn-warning:hover {
    background-color: #dda20a;
    border-color: #dda20a;
}

.btn-danger {
    background-color: #e74a3b;
    border-color: #e74a3b;
}

.btn-danger:hover {
    background-color: #be2617;
    border-color: #be2617;
}

/* Forms */
.form-control {
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #e3e6f0;
}

.form-control:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-label {
    font-weight: 600;
    color: #5a5c69;
}

/* Status colors */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.status-bekliyor {
    background-color: #f6c23e;
    color: #212529;
}

.status-teslim-edildi {
    background-color: #1cc88a;
    color: white;
}

/* İmha Edildi durumu için */
.status-teslim-edilmedi {
    background-color: #e74a3b;
    color: white;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        padding: 0;
    }
    
    .card-stats {
        margin-bottom: 15px;
    }
    
    .container-fluid {
        padding-right: 5px;
        padding-left: 5px;
    }
}

/* Item details modal */
.modal-img-container {
    max-height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-img-container img {
    max-width: 100%;
    max-height: 300px;
}

/* File upload preview */
.image-preview {
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview img {
    max-width: 100%;
    max-height: 190px;
}

/* Log entries */
.log-entry {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #fff;
    border-left: 4px solid #4e73df;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.log-user {
    font-weight: bold;
    color: #4e73df;
}

.log-date {
    color: #aaa;
    font-size: 0.85rem;
}

/* Dashboard stats */
.stat-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-card .card-body {
    padding: 20px;
}

.stat-card .icon {
    font-size: 30px;
}

.stat-card .count {
    font-size: 30px;
    font-weight: 700;
}

.stat-card .title {
    color: #888;
    font-size: 14px;
}

/* Chart containers */
.chart-container {
    position: relative;
    height: 350px;
}

/* DateRangePicker customization */
.daterangepicker {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Print-specific styles */
@media print {
    #sidebar, .navbar, .no-print {
        display: none !important;
    }
    
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
} 