/* 
 * Fatura Ödeme Sistemi - Ana CSS Dosyası
 * 
 * Özel CSS stilleri
 */

/* Genel stiller */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Dropdown menü düzenlemesi */
.dropdown-menu {
    z-index: 1030 !important;
    display: none;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-toggle {
    cursor: pointer !important;
}

.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.255em !important;
    vertical-align: 0.255em !important;
    content: "" !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
}

.dropdown-item {
    cursor: pointer !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

/* Özel konteyner */
.mini-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Sayfası başlığı */
.page-title {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

/* Kart stilleri */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.03);
}

.card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
}

/* Buton stilleri */
.btn-rounded {
    border-radius: 50px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    margin-right: 0.5rem;
}

/* Badge stilleri */
.badge-pill {
    border-radius: 50px;
    padding: 0.4em 0.8em;
}

.badge-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: transparent;
}

.badge-outline-success {
    color: var(--success-color);
    border: 1px solid var(--success-color);
    background-color: transparent;
}

.badge-outline-danger {
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    background-color: transparent;
}

.badge-outline-warning {
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
    background-color: transparent;
}

/* Form stilleri */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-form-group {
    margin-bottom: 1.5rem;
}

.custom-form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Tablolar */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Uyarı balonları */
.alert {
    border-radius: 0.25rem;
    border-left-width: 4px;
}

.alert-icon {
    display: flex;
    align-items: flex-start;
}

.alert-icon i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Paket kartları */
.package-card {
    border-radius: 0.5rem;
    transition: transform 0.3s ease-in-out;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card .package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-card .package-features {
    list-style-type: none;
    padding-left: 0;
}

.package-card .package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.package-card .package-features li:last-child {
    border-bottom: none;
}

.package-card .package-features i {
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* Durum renkleri */
.status-pending {
    color: var(--warning-color);
}

.status-approved {
    color: var(--info-color);
}

.status-completed {
    color: var(--success-color);
}

.status-rejected, .status-cancelled {
    color: var(--danger-color);
}

.status-paid {
    color: var(--success-color);
}

.status-unpaid {
    color: var(--danger-color);
}

.status-processing {
    color: var(--info-color);
}

/* Mobil uyumluluk */
@media (max-width: 767.98px) {
    .card-responsive {
        margin-bottom: 1rem;
    }
    
    .table-responsive-stacked thead {
        display: none;
    }
    
    .table-responsive-stacked tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
    }
    
    .table-responsive-stacked tbody td {
        display: block;
        text-align: right;
        border-bottom: 1px solid #dee2e6;
        padding: 0.75rem;
    }
    
    .table-responsive-stacked tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
    }
    
    .table-responsive-stacked tbody td:last-child {
        border-bottom: none;
    }
}

/* Özel animasyonlar */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Dashboard Widget */
.dashboard-widget {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.dashboard-widget .widget-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.dashboard-widget .widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.dashboard-widget .widget-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dashboard-widget .widget-trend {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.dashboard-widget .widget-trend i {
    margin-right: 0.25rem;
}

.dashboard-widget .widget-trend.up {
    color: var(--success-color);
}

.dashboard-widget .widget-trend.down {
    color: var(--danger-color);
}

/* Bildirim dropdown */
.dropdown-notifications {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: rgba(13, 110, 253, 0.05);
}

.notification-item .notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-item .notification-time {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Login/Register sayfaları */
.auth-card {
    max-width: 450px;
    margin: 2rem auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.auth-card .card-header {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}

.auth-card .card-body {
    padding: 2rem;
}

.auth-card .auth-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    margin-top: 3rem;
} 