/* Bootstrap Override CSS */

/* Temel Bootstrap renklerini geçersiz kılma */
:root {
    --bs-primary: #667eea;
    --bs-primary-rgb: 102, 126, 234;
    --bs-secondary: #764ba2;
    --bs-secondary-rgb: 118, 75, 162;
    --bs-success: #10b981;
    --bs-success-rgb: 16, 185, 129;
    --bs-info: #06b6d4;
    --bs-info-rgb: 6, 182, 212;
    --bs-warning: #fbbf24;
    --bs-warning-rgb: 251, 191, 36;
    --bs-danger: #ef4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-light: #f7fafc;
    --bs-light-rgb: 247, 250, 252;
    --bs-dark: #1a202c;
    --bs-dark-rgb: 26, 32, 44;
}

/* Navbar Stilleri */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: var(--bs-primary);
}

/* Button Stilleri */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    border: none;
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: var(--gradient-warm);
    border: none;
    color: var(--bs-dark);
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: white;
}

/* Card Stilleri */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    border-bottom: none;
}

/* Form Stilleri */
.form-control,
.form-select {
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Accordion Stilleri */
.accordion-item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gray-200);
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-color: var(--bs-primary);
}

/* Modal Stilleri */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
}

/* Pagination Stilleri */
.pagination .page-link {
    border: none;
    margin: 0 0.25rem;
    border-radius: var(--radius-md);
    color: var(--bs-primary);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.alert-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--bs-primary);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #92400e;
}

/* Badge Stilleri */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

/* Tooltip Stilleri */
.tooltip .tooltip-inner {
    background-color: var(--bs-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Popover Stilleri */
.popover {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.popover-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
}

/* Progress Bar Stilleri */
.progress {
    height: 0.75rem;
    border-radius: var(--radius-full);
    background-color: var(--gray-200);
}

.progress-bar {
    background: var(--gradient-primary);
}

/* List Group Stilleri */
.list-group-item {
    border-color: var(--gray-200);
    padding: 1rem 1.25rem;
}

.list-group-item.active {
    background: var(--gradient-primary);
    border-color: var(--bs-primary);
}

/* Spinner Stilleri */
.spinner-border {
    border-right-color: transparent;
}

.spinner-border.text-primary {
    color: var(--bs-primary) !important;
}

/* Toast Stilleri */
.toast {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.toast-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
}

/* Carousel Stilleri */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

/* Breadcrumb Stilleri */
.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
}

.breadcrumb-item.active {
    color: var(--bs-primary);
    font-weight: 500;
}

/* Tablo Stilleri */
.table {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table thead th {
    background-color: var(--gray-100);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.5rem 0.75rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
}
