/* Genel Stiller */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Navbar Stili */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.brand-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.brand-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.brand-box i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.brand-box:not(:has(i)) .brand-text {
    margin-left: 0;
}

.brand-box small {
    opacity: 0.9;
    font-size: 0.9em;
    margin-left: 2px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 1.08rem;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    margin-right: 0.3rem;
    letter-spacing: 0.01em;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #3a7bd5 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(58,123,213,0.13);
}
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 1rem;
    }
}

.navbar .input-group {
    background: var(--light-color);
    border-radius: 8px;
    padding: 0.25rem;
}

.navbar .form-control {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
}

.navbar .form-control::placeholder {
    color: rgba(0,0,0,0.5);
}

.navbar .btn-light {
    background: var(--accent-color);
    border: none;
    color: white;
    border-radius: 6px;
}

.navbar .btn-light:hover {
    background: darken(var(--accent-color), 10%);
}

/* Breadcrumb Styles */
.breadcrumb-wrapper {
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.breadcrumb {
    --bs-breadcrumb-divider: '›';
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--gray-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider);
    font-size: 1rem;
    line-height: 1;
    color: #ffd200;
    opacity: 0.8;
    margin: 0 0.3rem;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffd200;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(35,40,59,0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #fff;
    background: #3a7bd5;
    box-shadow: 0 2px 5px rgba(58,123,213,0.2);
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #23283b !important;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    background: #ffd200 !important;
    box-shadow: 0 2px 5px rgba(255,210,0,0.2);
    font-size: 0.85rem;
    font-weight: 600;
}
.breadcrumb-item.active span {
    color: #23283b !important;
}
.breadcrumb-item i {
    font-size: 0.8rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .breadcrumb-item span {
        display: none;
    }
    
    .breadcrumb-item.active span {
        display: inline;
    }

    .breadcrumb-item a {
        padding: 0.4rem 0.5rem;
    }

    .breadcrumb-item.active {
        padding: 0.4rem 0.6rem;
    }

    .breadcrumb-item i {
        font-size: 0.9rem;
        opacity: 1;
    }
}

/* Ürün Detay Sayfası */
.product-gallery {
    background: #23283b;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
}

.main-image-container {
    background: #23283b;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #3498db;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 540px;
    margin: 0 auto 1rem auto;
    position: relative;
    transition: all 0.3s ease;
}

.main-image-container:hover {
    border-color: #2ecc71;
    transform: translateY(-2px);
}
.main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #23283b;
    border-radius: 10px;
    border: none;
}
.thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    background: transparent;
}
.thumbnail-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #3498db;
    background: #23283b;
    margin-right: 0.2rem;
    transition: all 0.3s ease;
}

.thumbnail-container:hover {
    border-color: #f39c12;
    transform: translateY(-1px);
}

.thumbnail-container.active {
    border-color: #2ecc71;
}
.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #23283b;
}
@media (max-width: 768px) {
    .main-image-container { 
        max-width: 100%; 
        aspect-ratio: 1/1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-image {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    .thumbnail-container { 
        width: 60px; 
        height: 60px; 
    }
    .product-gallery {
        padding: 0.5rem;
    }
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
}

.price-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.specs-box {
    background: #23283b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    color: #f5f6fa;
}
.specs-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd200;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.specs-table tr {
    border-bottom: 1px solid #31364a;
    background: transparent !important;
}
.specs-table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    color: #f5f6fa;
}
.specs-table td:first-child {
    font-weight: 600;
    color: #ffd200;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 35%;
}
.specs-table td:last-child {
    color: #f5f6fa;
    font-size: 1.05rem;
}
@media (max-width: 768px) {
    .specs-box { padding: 1rem; }
    .specs-title { font-size: 1rem; }
    .specs-table td { padding: 0.5rem 0.25rem; }
}

/* Ürün Detay Açıklama ve Butonlar */
.desc-box {
    background: #23283b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-bottom: 2rem;
    color: #f5f6fa;
}
.desc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.desc-content {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #f5f6fa;
    word-break: break-word;
}
.action-buttons {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}
.action-buttons .btn {
    min-width: 180px;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    transition: all 0.2s;
}
.action-buttons .btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border: none;
}
.action-buttons .btn-success:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: #fff;
}
.action-buttons .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: #fff;
    border: none;
}
.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
    color: #fff;
}
.action-buttons .btn-warning {
    background: linear-gradient(135deg, #ffd200 0%, #ffed4e 100%);
    color: #23283b;
    border: none;
}
.action-buttons .btn-warning:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd200 100%);
    color: #23283b;
}
@media (max-width: 768px) {
    .desc-box {
        padding: 1rem 0.5rem 1rem 0.5rem;
        max-width: 100%;
    }
    .action-buttons .btn {
        min-width: 120px;
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
    .action-buttons {
        gap: 0.7rem;
    }
}
@media (max-width: 576px) {
    .desc-box {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }
    .action-buttons .btn {
        min-width: 90px;
        font-size: 0.95rem;
        padding: 0.6rem 0.7rem;
    }
    .action-buttons {
        gap: 0.5rem;
    }
}

.description {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.description-content {
    color: var(--gray-color);
    line-height: 1.6;
}

.action-buttons .btn-success {
    background: #25D366;
    border-color: #25D366;
}

.action-buttons .btn-success:hover {
    background: #22c35e;
    border-color: #22c35e;
}

/* Benzer Ürünler */
.similar-products {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.similar-products h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.similar-products .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.similar-products .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.similar-products .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.similar-products .card-body {
    padding: 1.25rem;
}

.similar-products .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.similar-products .card-footer {
    padding: 1rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .price-box {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .thumbnail-container {
        width: 60px;
        height: 60px;
    }

    .specs-table td {
        padding: 0.5rem 0;
    }

    .specs-table td:first-child {
        width: 35%;
    }
}

@media (max-width: 576px) {
    .main-image-container {
        aspect-ratio: 4/3;
        margin-bottom: 0.5rem;
    }
    .main-image {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    .thumbnail-container {
        width: 60px;
        height: 60px;
    }
    .thumbnails {
        gap: 0.3rem;
        padding: 0.3rem 0;
    }
    .product-gallery {
        padding: 0.5rem;
    }
}

/* Fancybox Özelleştirme */
.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.fancybox__container {
    --fancybox-bg: transparent;
}

.fancybox__toolbar {
    --fancybox-color: #fff;
}

/* Ürün Kartı */
.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .price {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Butonlar */
.btn {
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1a1d2e 0%, #2a2f42 100%) !important;
    background-color: #1a1d2e !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%) !important;
    background-color: #3498db !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4) !important;
    border: none !important;
}

/* Özel koyu buton stili - Ana sayfa ürünler bölümü için */
.custom-dark-btn {
    background: linear-gradient(135deg, #1a1d2e 0%, #2a2f42 100%) !important;
    background-color: #1a1d2e !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-dark-btn:hover, .custom-dark-btn:focus, .custom-dark-btn:active {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%) !important;
    background-color: #3498db !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4) !important;
    border: none !important;
}

/* Tamamen özel koyu buton - Bootstrap'ten bağımsız */
.dark-button {
    background: linear-gradient(135deg, #1a1d2e 0%, #2a2f42 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.dark-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.dark-button:hover::before {
    left: 100%;
}

.dark-button:hover {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.dark-button:active {
    transform: translateY(0);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.5rem;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .product-gallery img {
        height: auto;
    }
    
    .price-box {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
    
    .specs-table td {
        padding: 0.75rem;
    }
    
    .product-card img {
        height: 150px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}

/* --- ADMIN DARK PASTEL THEME --- */
:root {
    --admin-bg: #23283b;
    --admin-bg-gradient: linear-gradient(135deg, #23283b 0%, #2d3146 100%);
    --admin-card-bg: #23283b;
    --admin-card-border: #2d3146;
    --admin-sidebar-bg: #20243a;
    --admin-sidebar-gradient: linear-gradient(135deg, #23283b 0%, #2d3146 100%);
    --admin-content-bg: #23283b;
    --admin-border: #353a50;
    --admin-shadow: 0 2px 16px rgba(30,40,90,0.13);
    --admin-primary: #6c63ff;
    --admin-accent: #43e97b;
    --admin-accent2: #38f9d7;
    --admin-danger: #ff6b81;
    --admin-success: #43e97b;
    --admin-warning: #ffd166;
    --admin-text: #f5f6fa;
    --admin-text-muted: #b2b7c2;
    --admin-input-bg: #23283b;
    --admin-input-border: #353a50;
    --admin-input-focus: #6c63ff;
}
body, .admin-content {
    background: var(--admin-bg-gradient) !important;
    color: var(--admin-text);
}
.admin-card, .modal-content {
    background: #262b3c;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30,40,90,0.13);
    border: 1.5px solid #31364a;
    color: #f5f6fa;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    transition: all 0.3s ease;
}
.table {
    background: #23283b;
    color: #f5f6fa;
    border-radius: 10px;
    overflow: hidden;
}
.table th {
    background: #31364a;
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid #353a50 !important;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}
.table td {
    background: #23283b;
    color: #f5f6fa;
    border-color: #31364a !important;
    font-size: 1.01rem;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #262b3c;
}
.table-striped > tbody > tr:nth-of-type(even) {
    background: #23283b;
}
.table tbody tr {
    border-bottom: 1.5px solid #31364a;
}
.btn-primary, .btn-warning, .btn-danger {
    border: none;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(108,99,255,0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-primary {
    background: linear-gradient(90deg, #6c63ff, #38f9d7);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #38f9d7, #6c63ff);
    color: #fff;
}
.btn-warning {
    background: linear-gradient(90deg, #ffd166, #ffb347);
    color: #23283b;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255,209,102,0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-warning:hover, .btn-warning:focus {
    background: linear-gradient(90deg, #ffb347, #ffd166);
    color: #23283b;
    filter: brightness(1.08);
}
.btn-danger {
    background: linear-gradient(90deg, #ff6b81, #ffbaba);
    color: #fff;
}
.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(90deg, #ffbaba, #ff6b81);
    color: #fff;
}
.admin-sidebar {
    background: var(--admin-sidebar-bg);
    border-right: 1px solid #2d3146;
}
.admin-nav .nav-link {
    color: #b2b7c2;
    background: transparent;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}
.admin-nav .nav-link.active, .admin-nav .nav-link:hover {
    background: linear-gradient(90deg, #6c63ff, #38f9d7);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108,99,255,0.10);
}
.admin-nav .nav-link.text-danger:hover {
    background: linear-gradient(90deg, #ff6b81, #ffbaba);
    color: #fff;
}
.admin-header, .admin-header .bg-white {
    background: #23283b !important;
    color: #f5f6fa;
    border-bottom: 1px solid #2d3146;
}
input, textarea, select, .form-control {
    background: var(--admin-input-bg) !important;
    color: var(--admin-text) !important;
    border: 1px solid var(--admin-input-border) !important;
    border-radius: 8px !important;
}
input:focus, textarea:focus, select:focus, .form-control:focus {
    border-color: var(--admin-input-focus) !important;
    box-shadow: 0 0 0 2px var(--admin-primary)33;
}
::-webkit-scrollbar {
    width: 8px;
    background: var(--admin-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--admin-border);
    border-radius: 8px;
}
a, .link, .footer-link {
    color: var(--admin-accent);
    transition: color 0.2s;
}
a:hover, .link:hover, .footer-link:hover {
    color: var(--admin-primary);
}
h1, h2, h3, h4, h5, h6, .fw-bold {
    color: #fff !important;
}
.table th, .admin-card h5, .admin-card h4, .admin-card h3 {
    color: #fff !important;
}
.text-muted, .small, .table td .text-muted {
    color: #b2b7c2 !important;
}

/* Tablo Stili */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    background: var(--light-color);
}

.table td {
    vertical-align: middle;
}

/* Form Elemanları */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Butonlar */
.btn {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: darken(var(--accent-color), 10%);
    border-color: darken(var(--accent-color), 10%);
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--light-color);
}

.progress-bar {
    background: var(--accent-color);
    border-radius: 4px;
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .admin-sidebar {
        position: static;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
    }
} 

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
    border: 1px solid #2ecc71;
}

.badge.bg-warning {
    background: rgba(241, 196, 15, 0.1) !important;
    color: #f1c40f !important;
    border: 1px solid #f1c40f;
} 

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.section-title-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 8px rgba(52,152,219,0.08));
}
.section-title-underline {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .section-title { font-size: 1.3rem; }
    .section-title-icon { font-size: 1.4rem; }
    .section-title-underline { width: 40px; height: 3px; }
} 

.section-title-slim {
    background: transparent;
    color: #f5f6fa;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.section-title-slim-icon {
    font-size: 1.3rem;
    color: #ffd200;
}
.section-title-slim-underline {
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, #ffd200 0%, #3a7bd5 100%);
    border-radius: 2px;
    margin-left: 0.5rem;
}
@media (max-width: 768px) {
    .section-title-slim { font-size: 1rem; }
    .section-title-slim-underline { width: 20px; }
} 

.spec-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1em;
    opacity: 0.85;
    vertical-align: middle;
} 

.dark-card {
    background: #23283b;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30,40,90,0.13);
    border: 1.5px solid #31364a;
    color: #f5f6fa;
}
.footer-modern {
    background: linear-gradient(90deg, #23283b 0%, #262b3c 100%);
    color: #f5f6fa;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 24px rgba(30,40,90,0.10);
    border-top: 1.5px solid #31364a;
    padding: 2.5rem 0 1.5rem 0;
}
.footer-modern a, .footer-modern .footer-link {
    color: #b2b7c2;
    transition: color 0.2s;
}
.footer-modern a:hover, .footer-modern .footer-link:hover {
    color: #fff;
} 

.product-card {
    background: #23283b;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30,40,90,0.10);
    border: 1.5px solid #31364a;
    color: #f5f6fa;
    transition: box-shadow 0.2s, border 0.2s;
}
.product-card:hover {
    box-shadow: 0 6px 24px rgba(30,40,90,0.18);
    border-color: #ffd200;
}
.breadcrumb-wrapper {
    background: #23283b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
}
.breadcrumb-item, .breadcrumb-item a {
    color: #ffd200 !important;
    font-weight: 500;
}
.breadcrumb-item.active {
    color: #23283b !important;
}
.specs-box, .desc-box {
    background: #23283b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    border: 1.5px solid #31364a;
    color: #f5f6fa;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.specs-title, .desc-title {
    color: #ffd200;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
input.form-control[type="search"] {
    background: #23283b !important;
    color: #f5f6fa !important;
    border: 1.5px solid #31364a !important;
}
input.form-control[type="search"]::placeholder {
    color: #b2b7c2 !important;
} 

.dark-card .list-group-item {
    background: linear-gradient(90deg, #23283b 60%, #262b3c 100%) !important;
    color: #f5f6fa !important;
    border: none;
    border-radius: 8px;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
    box-shadow: 0 1px 4px rgba(30,40,90,0.07);
    font-size: 1.05rem;
    padding: 0.65rem 1.1rem 0.65rem 1.1rem;
    position: relative;
}
.dark-card .list-group-item:hover {
    background: linear-gradient(90deg, #262b3c 60%, #3a7bd5 100%) !important;
    color: #ffd200 !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(30,40,90,0.13);
}
.dark-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd200;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}
.dark-card .card-title::before {
    content: '\f07c'; /* fa-folder-open */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffd200;
    font-size: 1.1rem;
    margin-right: 0.4rem;
}
.dark-card .card-title-underline {
    height: 2px;
    width: 36px;
    background: linear-gradient(90deg, #ffd200 0%, #3a7bd5 100%);
    border-radius: 2px;
    margin-bottom: 1rem;
}
.dark-card .list-group-item::after {
    content: '\f105'; /* fa-angle-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #b2b7c2;
    font-size: 1.1rem;
    margin-left: 0.7rem;
    opacity: 0.7;
    transition: color 0.18s;
}
.dark-card .list-group-item:hover::after,
.active-dark::after {
    color: #ffd200;
    opacity: 1;
}
.active-dark {
    background: linear-gradient(90deg, #31364a 60%, #ffd200 100%) !important;
    color: #23283b !important;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(255,210,0,0.10);
}
.active-dark::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: linear-gradient(180deg, #ffd200 0%, #3a7bd5 100%);
    border-radius: 2px 0 0 2px;
} 

.dark-input, .dark-card .form-control, .dark-card textarea {
    background: #23283b !important;
    color: #f5f6fa !important;
    border: 1.5px solid #31364a !important;
    border-radius: 8px;
    box-shadow: none;
}
.dark-input:focus, .dark-card .form-control:focus, .dark-card textarea:focus {
    background: #23283b !important;
    color: #fff !important;
    border-color: #ffd200 !important;
    box-shadow: 0 0 0 0.15rem rgba(255,210,0,0.08);
}
.dark-input::placeholder, .dark-card .form-control::placeholder, .dark-card textarea::placeholder {
    color: #b2b7c2 !important;
    opacity: 1;
} 

.search-group {
    display: flex;
    align-items: center;
    background: #23283b;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    border: 1.5px solid #31364a;
    padding: 0.15rem 0.25rem 0.15rem 0.7rem;
    max-width: 340px;
}
.search-input {
    background: transparent !important;
    color: #f5f6fa !important;
    border: none !important;
    outline: none !important;
    font-size: 1.08rem;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: none;
    flex: 1 1 auto;
    padding: 0.6rem 0.5rem;
}
.search-input::placeholder {
    color: #b2b7c2 !important;
    opacity: 1;
}
.search-input:focus {
    background: transparent !important;
    color: #fff !important;
}
.search-btn {
    background: #3a7bd5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px;
    padding: 0.6rem 1.1rem;
    font-size: 1.1rem;
    margin-left: 0.3rem;
    box-shadow: 0 2px 8px rgba(58,123,213,0.13);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover, .search-btn:focus {
    background: #265fa6 !important;
    color: #fff !important;
}
@media (max-width: 768px) {
    .search-group { max-width: 100%; padding: 0.1rem 0.2rem 0.1rem 0.5rem; }
    .search-input { font-size: 1rem; padding: 0.5rem 0.3rem; }
    .search-btn { padding: 0.5rem 0.8rem; font-size: 1rem; }
} 

.btn-sort {
    background: #3a7bd5 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.08rem;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(58,123,213,0.13);
    padding: 0.6rem 1.2rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-sort:hover, .btn-sort:focus, .btn-sort:active {
    background: #265fa6 !important;
    color: #fff !important;
}
.sort-dropdown-menu {
    background: #23283b;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(30,40,90,0.13);
    border: 1.5px solid #31364a;
    min-width: 210px;
    padding: 0.3rem 0;
}
.sort-dropdown-menu .dropdown-item {
    color: #f5f6fa;
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 8px;
    margin: 0.1rem 0.5rem;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sort-dropdown-menu .dropdown-item:hover, .sort-dropdown-menu .dropdown-item.active {
    background: #3a7bd5;
    color: #fff;
} 

.file-upload-modern {
    background: #23283b !important;
    color: #f5f6fa !important;
    border: 1.5px solid #31364a !important;
    border-radius: 10px;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 0.7rem 1rem;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    transition: border 0.18s, box-shadow 0.18s;
}
.file-upload-modern:focus {
    border-color: #3a7bd5 !important;
    box-shadow: 0 0 0 0.15rem rgba(58,123,213,0.10);
}
.table-dark {
    background: #23283b !important;
    color: #f5f6fa !important;
}
.table-dark th, .table-dark td {
    background: #23283b !important;
    color: #f5f6fa !important;
    border-color: #31364a !important;
}
.table-dark thead th {
    background: #31364a !important;
    color: #ffd200 !important;
} 

.dark-csv-pre {
    background: #23283b !important;
    color: #ffd200 !important;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
    border-radius: 10px;
    border: 1.5px solid #31364a;
    font-size: 1.04rem;
    padding: 1.2rem 1.1rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(30,40,90,0.10);
    word-break: break-all;
}
.dark-csv-pre::selection {
    background: #3a7bd5;
    color: #fff;
} 

.swal2-popup, .swal2-toast {
    background: #23283b !important;
    color: #f5f6fa !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(30,40,90,0.13) !important;
    font-size: 1.08rem !important;
    border: 1.5px solid #31364a !important;
}
.swal2-title {
    color: #ffd200 !important;
    font-weight: 700 !important;
    font-size: 1.18rem !important;
}
.swal2-icon-success {
    color: #ffd200 !important;
    border-color: #ffd200 !important;
}
.swal2-icon-error {
    color: #ff6b81 !important;
    border-color: #ff6b81 !important;
}
.swal2-confirm {
    background: #3a7bd5 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(58,123,213,0.13) !important;
    border: none !important;
    transition: background 0.18s;
}
.swal2-confirm:hover, .swal2-confirm:focus {
    background: #265fa6 !important;
}
.swal2-cancel {
    background: #ffd200 !important;
    color: #23283b !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: background 0.18s;
}
.swal2-cancel:hover, .swal2-cancel:focus {
    background: #e6be00 !important;
} 

.admin-card.stat-card {
    background: linear-gradient(135deg, #23283b 60%, #31364a 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(30,40,90,0.13);
    border: 2px solid #3a7bd5;
    color: #f5f6fa;
    padding: 1.7rem 1.5rem 1.2rem 1.5rem;
    transition: box-shadow 0.18s, border 0.18s, transform 0.13s;
    position: relative;
    overflow: hidden;
}
.admin-card.stat-card:hover {
    box-shadow: 0 8px 32px rgba(58,123,213,0.18);
    border-color: #ffd200;
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}
.stat-icon {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #3a7bd5 0%, #ffd200 100%);
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(58,123,213,0.13);
    margin-right: 1.1rem;
}
.stat-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffd200;
    margin-bottom: 0.3rem;
}
.stat-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

/* İkinci sıradaki kartlar için hover efekti */
.admin-card:not(.stat-card):hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(58,123,213,0.2) !important;
    border-color: #ffd200 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

/* Inline style'lı kartlar için özel hover efekti */
.admin-card[style*="padding: 15px"]:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(58,123,213,0.2) !important;
    border-color: #ffd200 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

/* Eski accordion stilleri kaldırıldı - Yeni stiller yukarıda */ 

/* Yeni Kategori Menü Stilleri */
.accordion-item {
    border: none !important;
    margin-bottom: 0.25rem;
}

.accordion-header {
    border: none !important;
}

/* Kategori link stilleri */
.category-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-link:hover {
    background: rgba(58, 123, 213, 0.2) !important;
    transform: translateX(3px);
}

.category-link.active-dark {
    background: linear-gradient(135deg, #ffd200, #ffed4e) !important;
    color: #23283b !important;
    font-weight: 600;
}



/* Alt kategori menüsü */
.accordion-collapse {
    border: none !important;
}

.accordion-body {
    padding: 0 !important;
    background: transparent !important;
}

.accordion-body .list-group-item {
    border-left: 3px solid rgba(255, 210, 0, 0.5);
    margin-left: 1.5rem;
    border-radius: 0 8px 8px 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.95rem;
    padding-left: 1.2rem !important;
}



.accordion-body .list-group-item:hover {
    background: rgba(58, 123, 213, 0.2) !important;
    transform: translateX(3px);
    border-left-color: #ffd200;
}

.accordion-body .list-group-item.active-dark {
    background: linear-gradient(135deg, #ffd200, #ffed4e) !important;
    color: #23283b !important;
    font-weight: 600;
    border-left-color: #23283b;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .accordion-body .list-group-item {
        margin-left: 1rem;
        padding: 0.5rem 0.8rem 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
}