/* ============================================
   DOCCA MBS - KURUMSAL TASARIM CSS
   Modern, Profesyonel ve Estetik Tasarım
   ============================================ */

/* Modern Renk Paleti */
:root {
    --primary-color: #2C3E50;
    --primary-dark: #1a252f;
    --primary-light: #34495e;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #16a085;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --gradient-elegant: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.20);
}

/* ============================================
   LOGIN SAYFASI - KURUMSAL TASARIM
   ============================================ */

/* Login Arka Plan - Modern Gradient */
.auth-page-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.auth-page-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Login Kartı */
.auth-page-wrapper .card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: none;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.auth-card {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
    border-radius: 24px 0 0 24px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

/* Login Form Elemanları */
.auth-page-wrapper .form-control {
    border: 2px solid #e8ecef;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.auth-page-wrapper .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
    transform: translateY(-2px);
}

.auth-page-wrapper .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.auth-page-wrapper .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.auth-page-wrapper .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* ============================================
   MODAL TASARIMI - KURUMSAL
   ============================================ */

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 24px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.modal-body {
    padding: 32px;
}

.modal-body .form-control {
    border: 2px solid #e8ecef;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modal-body .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* ============================================
   SIDEBAR - KURUMSAL TASARIM
   ============================================ */

.vertical-menu {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    box-shadow: var(--shadow-lg);
}

#sidebar-menu .metismenu li a {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 20px;
    border-radius: 8px;
    margin: 4px 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#sidebar-menu .metismenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

#sidebar-menu .metismenu li a i {
    font-size: 20px;
    margin-right: 12px;
}

#sidebar-menu .menu-title {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 20px 20px 10px;
}

/* ============================================
   TOPBAR - KURUMSAL TASARIM
   ============================================ */

#page-topbar {
    background: white;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #f0f2f5;
}

.navbar-brand-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: var(--shadow-md);
}

#page-topbar .header-item {
    transition: all 0.3s ease;
}

#page-topbar .header-item:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

/* ============================================
   KARTLAR - KURUMSAL TASARIM
   ============================================ */

.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #e9ecef;
    padding: 20px 24px;
    font-weight: 700;
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.card-body {
    padding: 24px;
}

/* Özel Kart Tasarımları */
.card-height-100 .card {
    background: white;
    border-radius: 12px;
}

.card-height-100 .card:hover {
    transform: translateY(-2px);
}

/* Avatar İkonları */
.avatar-sm .avatar-title {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ============================================
   TABLOLAR - KURUMSAL TASARIM
   ============================================ */

.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.table thead th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 16px 20px;
    border: none;
}

.table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f2f5;
}

.table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

.table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    color: #495057;
    font-weight: 500;
}

.table-light {
    background: transparent !important;
}

/* ============================================
   İSTATİSTİK KARTLARI
   ============================================ */

.card-height-100 .border-end-md {
    border-right: 2px solid #f0f2f5 !important;
}

.card-height-100 .border-bottom {
    border-bottom: 2px solid #f0f2f5 !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-semibold {
    font-weight: 700 !important;
}

.counter-value {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.page-title-box {
    padding: 24px 0;
}

.page-title-box h4 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 24px;
    letter-spacing: 0.3px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #667eea;
    font-weight: 600;
}

/* ============================================
   ANİMASYONLAR
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* ============================================
   RESPONSIVE TASARIM
   ============================================ */

@media (max-width: 768px) {
    .auth-page-wrapper .card {
        border-radius: 16px;
    }
    
    .auth-card {
        border-radius: 16px 16px 0 0;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .card-body {
        padding: 16px;
    }
}

/* ============================================
   ÖZEL EFEKTLER
   ============================================ */

.text-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary-subtle {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
}

/* Scroll Bar Özelleştirme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    padding: 20px 0;
    color: #6c757d;
}

/* ============================================
   LOADING ANIMASYONLARI
   ============================================ */

.bx-spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   HOVER EFEKTLERI
   ============================================ */

.waves-effect {
    position: relative;
    overflow: hidden;
}

.waves-effect:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   GEÇİŞ ANİMASYONLARI
   ============================================ */

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

button, a, input, select, textarea {
    transition: all 0.3s ease !important;
}
