:root {
    --header-height: 60px;
    --primary-color: #dc3545;
    --primary-hover: #c82333;
    --text-color: #2c3e50;
    --border-color: #dee2e6;
    --bg-color: #f5f5f5;
    --marquee-height: 44px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Temel Stiller */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    padding-top: var(--header-height);
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--primary-color) !important;
    padding: 0;
    margin: 0;
    z-index: 1030;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ana İçerik */
.main-content {
    padding: 0.5rem !important;
    margin: 0 !important;
    margin-top: var(--header-height) !important;
}

.container-fluid {
    padding: 0.5rem !important;
    margin: 0 !important;
}

/* Dashboard */
.dashboard-content {
    padding: 0.5rem !important;
    margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Genel Stiller */
body {
    font-size: .875rem;
    background: url('../../img/arkaplan.jpeg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

/* Logo Stilleri */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    padding: 0.5rem 1rem;
    background-color: rgba(220, 53, 69, 0.95) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

/* Butonlar */
.btn-primary {
    background: linear-gradient(45deg, #dc3545, #c82333);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #c82333, #bd2130);
    transform: translateY(-2px);
}

/* Navbar Stilleri */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menüler */
.dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.dropdown-item i {
    margin-right: 8px;
    font-size: 1rem;
    color: #666;
}

.dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

/* Masaüstü Dropdown Hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobil Dropdown Stilleri */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        z-index: 1029;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-item {
        height: auto;
        margin-bottom: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        height: auto;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.1) !important;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem !important;
        background: rgba(255,255,255,0.95) !important;
        border-radius: 4px !important;
        padding: 0.5rem 0;
        display: none !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-item {
        color: #333 !important;
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .dropdown-item:hover {
        background: rgba(220, 53, 69, 0.1) !important;
        color: var(--primary-color) !important;
        padding-left: 2rem;
    }

    .dropdown-item i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
    }

    /* Dropdown toggle için ok işareti */
    .dropdown-toggle::after {
        content: '\f282';
        font-family: 'bootstrap-icons';
        border: none;
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        margin-right: 1rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Kartlar */
.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 1rem 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card-body {
    padding: 1.5rem;
}

/* Tablolar */
.table {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Bildirim Stilleri */
.bildirim-item {
    transition: all 0.3s ease;
}

.bildirim-item:hover {
    transform: translateX(5px);
}

.bildirim-item.okundu {
    opacity: 0.7;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card, .table {
    animation: fadeIn 0.5s ease-out;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .table-responsive {
        margin: 0 -10px;
    }
    
    .table td, .table th {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 12px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .dropdown-menu {
        font-size: 13px;
    }
    
    .navbar {
        padding: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .card-header {
        padding: 0.5rem 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .table th {
        font-size: 12px;
    }
    
    .table td {
        font-size: 12px;
    }
    
    .btn {
        font-size: 13px;
        padding: 0.25rem 0.5rem;
    }
    
    .alert {
        font-size: 13px;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .col-md-4, .col-md-8 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
}

/* Form Elemanları */
.form-control, .form-select {
    font-size: 14px;
}

@media (max-width: 768px) {
    .form-control, .form-select {
        font-size: 13px;
        padding: 0.375rem 0.75rem;
    }
    
    .form-label {
        font-size: 13px;
        margin-bottom: 0.25rem;
    }
}

/* Badge'ler */
.badge {
    padding: 0.5em 0.75em;
}

/* Alert Mesajları */
.alert {
    font-size: 14px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .alert {
        font-size: 13px;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }
}

/* Form Grupları */
.form-group {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .form-group {
        margin-bottom: 0.75rem;
    }
}

/* Responsive Grid */
@media (max-width: 768px) {
    .col-md-4, .col-md-8 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
}

/* Modal Styles */
#modalContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: none;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 99998;
    display: none;
}

.modal-backdrop.show {
    display: block;
}

.modal-open {
    overflow: hidden;
    padding-right: 17px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

.modal .btn-close {
    padding: 1rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.modal p {
    margin-bottom: 0.75rem;
}

.modal .badge {
    font-size: 0.875rem;
    padding: 0.5em 0.75em;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header, .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Form Label Styles */
.form-label {
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-label.fw-bold {
    font-weight: 600;
}

/* Status Colors */
.text-warning {
    color: #ffc107 !important;
}

.text-primary {
    color: #0d6efd !important;
}

.text-success {
    color: #198754 !important;
}

/* İstatistik Kartları */
.card.bg-warning,
.card.bg-success,
.card.bg-danger {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card.bg-warning:hover,
.card.bg-success:hover,
.card.bg-danger:hover {
    transform: translateY(-5px);
}

.card.bg-warning {
    background: linear-gradient(45deg, #ffc107, #ffb300) !important;
}

.card.bg-success {
    background: linear-gradient(45deg, #28a745, #218838) !important;
}

.card.bg-danger {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .card-text {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: .5rem 1rem;
}

.sidebar .nav-link.active {
    color: #2470dc;
}

.sidebar .nav-link:hover {
    color: #2470dc;
}

.sidebar .nav-link i {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active i {
    color: #2470dc;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.table th {
    border-top: none;
    background-color: #f8f9fa;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding-top: 0;
    }
    
    main {
        margin-left: 0 !important;
    }
}

/* Header Styles */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
    display: flex;
}

.brand-section {
    background: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-section img {
    height: 40px;
    margin-right: 15px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.hospital-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.system-name {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.nav-section {
    flex: 1;
    background: var(--primary-color);
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item {
    height: 100%;
    position: relative;
}

.nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.nav-link i {
    margin-right: 8px;
    font-size: 16px;
}

.user-menu {
    margin-left: auto;
}

.dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    margin-right: 8px;
    font-size: 16px;
    color: #666;
}

.dropdown-item:hover {
    background: rgba(220,53,69,0.1);
    color: var(--primary-color);
}

/* Ana İçerik Alanı */
.main-content {
    margin-top: var(--header-height);
    padding: 20px;
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-color);
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .brand-section {
        padding: 0 10px;
    }

    .brand-section img {
        height: 35px;
        margin-right: 10px;
    }

    .hospital-name {
        font-size: 14px;
    }

    .system-name {
        font-size: 11px;
    }

    .nav-section {
        padding: 0 10px;
    }

    .nav-link {
        padding: 0 10px;
        font-size: 14px;
    }

    .nav-link i {
        margin-right: 6px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: auto;
        flex-direction: column;
    }

    .brand-section {
        width: 100%;
        justify-content: space-between;
        height: var(--header-height);
    }

    .nav-section {
        display: none;
        width: 100%;
    }

    .nav-section.show {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        height: auto;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 15px;
    }

    .user-menu {
        margin: 0;
    }

    .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: none !important;
    }
}

/* Common Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: calc(var(--header-height) + 10px);
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.card-body {
    padding: 20px;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #dc3545;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #c82333;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #dc3545;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220,53,69,0.25);
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Utilities */
.d-none {
    display: none !important;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .table {
        display: block;
        overflow-x: auto;
    }
}

/* Dashboard Stilleri */
.marquee-container {
    background: #fff;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 1019;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: var(--marquee-height);
}

.marquee-content {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 32px;
}

.marquee-label {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 12px;
}

.marquee-text {
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    position: relative;
}

.marquee-text span {
    display: inline-block;
    padding-right: 50px;
    opacity: 0;
}

.marquee-text span.active {
    opacity: 1;
    animation: marqueeAnimation 15s linear;
}

@keyframes marqueeAnimation {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem 0;
}

.info-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.info-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .info-title {
        font-size: 1.5rem;
    }

    .info-text {
        font-size: 1rem;
    }
}

/* Profil Sayfası Stilleri */
.profile-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem 0;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    color: #666;
    font-size: 1rem;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-form .form-label {
    font-weight: 500;
    color: var(--text-color);
}

.profile-form .form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
}

.profile-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Profil Sayfası Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
    }
}

/* Grafik Container Stilleri */
.chart-container {
    position: relative;
    height: 300px;  /* Sabit yükseklik */
    width: 100%;
    margin: 15px 0;
}

.card .chart-container {
    padding: 10px;
}

/* Grafik kartları için özel stil */
.card.h-100 {
    height: auto;
    margin-bottom: 20px;
}

.card.h-100 .card-body {
    padding: 1.5rem;
}

/* Modern Profil Sayfası Stilleri */
.profile-avatar-lg {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.profile-avatar-lg:hover {
    transform: scale(1.05);
}

.profile-info-item i {
    font-size: 1.5rem;
    display: block;
}

.nav-tabs .nav-link {
    color: #666;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    position: relative;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border: none;
}

.nav-tabs .nav-link.active::after {
    transform: scaleX(1);
}

.nav-tabs .nav-link:hover {
    border: none;
    color: var(--primary-color);
}

.form-label {
    color: #555;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.input-group .btn-outline-secondary {
    border-color: #e0e0e0;
    color: #666;
}

.input-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #333;
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Profil Sayfası Responsive */
@media (max-width: 768px) {
    .profile-avatar-lg {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
}

/* İş Takip Butonları */
.button-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.button-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.button-group .btn i {
    margin-right: 8px;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.btn-group-sm .btn i {
    font-size: 1rem;
}

/* İş Takip Kartları */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.card-header {
    padding: 1.25rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .button-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .button-group .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}

/* İşlem Butonları */
.btn-group-sm {
    display: flex;
    gap: 0.5rem;
}

.btn-group-sm .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-group-sm .btn i {
    font-size: 1rem;
}

.btn-group-sm .btn-primary {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    border: none;
}

.btn-group-sm .btn-primary:hover {
    background: linear-gradient(45deg, #0a58ca, #084298);
    transform: translateY(-2px);
}

.btn-group-sm .btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    border: none;
}

.btn-group-sm .btn-danger:hover {
    background: linear-gradient(45deg, #c82333, #bd2130);
    transform: translateY(-2px);
}

/* Row ve col için margin düzenlemeleri */
.row {
    margin-top: 0 !important;
}

.col, .col-md-10, .col-12 {
    padding-top: 0 !important;
}

/* Ana İçerik Alanı */
.main-content {
    margin-top: var(--header-height);
    padding: 15px;
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-color);
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .container-fluid,
    .container,
    .main-content {
        padding: 10px;
        padding-top: calc(var(--header-height) + 10px);
    }
}

@media (max-width: 768px) {
    .container-fluid,
    .container,
    .main-content {
        padding: 10px;
        padding-top: calc(var(--header-height) + 10px);
    }
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    z-index: 1000;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        font-size: 11px;
        padding: 4px 0;
    }
}

/* Main Content Adjustment for Footer */
.main-content {
    margin-bottom: 30px !important; /* Footer yüksekliği + ekstra boşluk */
    padding-top: 0.5rem !important;
}

/* Disiplin Durum Satır Renklendirmesi */
.status-row-beklemede {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-left: 4px solid #ffc107 !important;
}

.status-row-beklemede:hover {
    background-color: rgba(255, 193, 7, 0.2) !important;
}

.status-row-tamamlandı {
    background-color: rgba(25, 135, 84, 0.1) !important;
    border-left: 4px solid #198754 !important;
}

.status-row-tamamlandı:hover {
    background-color: rgba(25, 135, 84, 0.2) !important;
}

.status-row-ek-süre-verildi {
    background-color: rgba(13, 202, 240, 0.1) !important;
    border-left: 4px solid #0dcaf0 !important;
}

.status-row-ek-süre-verildi:hover {
    background-color: rgba(13, 202, 240, 0.2) !important;
}

/* Durum Badge Stilleri */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* 3 Sütunlu Düzen */
.sidebar-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-card .card-header {
    border-radius: 15px 15px 0 0;
    border: none;
    font-weight: 600;
}

/* Muhakkik Sidebar Kartları */
.muhakkik-sidebar-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    min-height: 110px;
}

.muhakkik-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.stat-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.stat-avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.stat-name {
    font-weight: 600;
    color: #495057;
    font-size: 0.75rem;
    flex: 1;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.stat-numbers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    gap: 0.2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-box {
    border-radius: 8px;
    padding: 0.5rem 0.3rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-total-box {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.stat-pending-box {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.stat-completed-box {
    background: linear-gradient(135deg, #198754, #146c43);
    color: white;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.stat-total {
    color: white;
}

.stat-pending {
    color: #212529;
}

.stat-completed {
    color: white;
}

.stat-label {
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.0;
}

.stat-total-box .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-pending-box .stat-label {
    color: rgba(33, 37, 41, 0.8);
}

.stat-completed-box .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-extra {
    text-align: center;
}

/* Bölüm Renklendirmesi */
.section-header {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, currentColor 50%, transparent 100%);
}

.active-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.active-section::before {
    background: linear-gradient(90deg, transparent 0%, #ffc107 50%, transparent 100%);
}

.completed-section {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-left: 4px solid #198754;
    color: #0f5132;
}

.completed-section::before {
    background: linear-gradient(90deg, transparent 0%, #198754 50%, transparent 100%);
}

/* Performans Özeti */

.summary-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 70px;
}

.summary-item:hover {
    background: rgba(248, 249, 250, 1);
    transform: translateX(5px);
}

.summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.summary-content {
    flex: 1;
}

.summary-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #495057;
    line-height: 1;
}

.summary-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.progress-section {
    background: rgba(248, 249, 250, 0.8);
    padding: 1rem;
    border-radius: 8px;
}

.progress-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive düzenlemeler */
@media (max-width: 992px) {
    .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    .muhakkik-sidebar-card {
        margin-bottom: 1rem;
    }
    
    .stat-numbers {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-name {
        font-size: 0.7rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
    
    .stat-box {
        padding: 0.4rem 0.2rem;
    }
    
    .summary-item {
        padding: 0.5rem;
        min-height: 50px;
    }
    
    .summary-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .summary-number {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .muhakkik-stat-card {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .muhakkik-stat-card .card-title {
        font-size: 0.8rem;
    }
    
    .section-header {
        padding: 0.75rem;
    }
    
    .summary-item {
        padding: 0.5rem;
    }
    
    .summary-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .summary-number {
        font-size: 1.25rem;
    }
} 