/* Scrollbar Gizleme */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.modal-details {
    max-width: 500px;
}

.detail-item {
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: bold;
    color: #666;
}

.detail-value {
    color: #333;
}

/* Genel Sayfa Stilleri */
body {
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Modal Stilleri */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Buton Stilleri */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.7;
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #cfe2ff;
    border-color: #b6d4fe;
    color: #0a58ca;
}

.btn-success:disabled,
.btn-success.disabled {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #146c43;
}

.btn-danger:disabled,
.btn-danger.disabled {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #b02a37;
}

.btn-warning:disabled,
.btn-warning.disabled {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #997404;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding: 0.1rem 0.75rem;
    min-height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1;
    margin-right: auto;
}

.navbar-brand i {
    font-size: 0.9rem;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
    margin: 0 !important;
    align-items: center;
}

.nav-link {
    padding: 0.25rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    height: 36px;
    display: flex;
    align-items: center;
    position: relative;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 6px;
}

.nav-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.25rem;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(255,255,255,0.2);
}

.nav-link i {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* Branch selector positioning */
.branch-selector {
    margin-left: 0.25rem;
    display: flex;
    align-items: center;
}

.branch-selector select {
    min-width: 120px;
    height: 28px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    border-radius: 4px;
}

/* Sidebar Styles */
.offcanvas {
    max-width: 280px;
    border: none;
    transition: transform 0.2s ease-in-out !important;
}

.offcanvas-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(45deg, #4e73df, #224abe);
}

.offcanvas-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.offcanvas-title i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.offcanvas-body {
    padding: 1.25rem;
}

.offcanvas .nav-link {
    padding: 0.875rem 1.25rem;
    color: #2c3e50 !important;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.offcanvas .nav-link:hover {
    background-color: #edf2ff;
    border-color: #4e73df;
    transform: translateX(5px);
    color: #4e73df !important;
}

.offcanvas .nav-link.active {
    background: #4e73df;
    color: white !important;
    border-color: #4e73df;
}

.offcanvas .nav-link i {
    margin-right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 0.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

/* Main Content Spacing */
.container {
    padding-top: 0.5rem;
    padding-bottom: 0.6em;
}

/* Button Styles */
.btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn i {
    font-size: 0.9em;
}

/* Personel Detayları Modal Stilleri */
.personnel-details {
    padding: 0;
    max-width: 100%;
}

.profile-header {
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 1;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-image.default-image {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c757d;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.1rem;
    color: #6c757d;
}

.profile-department {
    font-size: 1rem;
    color: #495057;
}

.info-section {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 0;
}

.info-group {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-bottom: 1px solid #f8f9fa;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

.info-group i {
    color: #6c757d;
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.info-label {
    font-weight: 500;
    color: #495057;
    min-width: 100px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-value {
    color: #2c3e50;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.address-group {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.address-value {
    line-height: 1.5;
    white-space: pre-line;
    padding: 0.25rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.info-item {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-item i {
    color: #6c757d;
    margin-right: 0.5rem;
    width: auto;
    margin-top: 0;
}

.profile-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.profile-actions .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Modal Genel Stilleri */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

.modal-body {
    padding: 1rem;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
}

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-row:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.clickable-row:active {
    background-color: rgba(0, 123, 255, 0.2);
}

/* Personel Listesi Stilleri */
.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table td, .table th {
    white-space: normal;
    vertical-align: middle;
    padding: 0.75rem 1rem;
    overflow: visible;
    text-overflow: clip;
    border-bottom: 1px solid #dee2e6;
    word-wrap: break-word;
}

.table th {
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
    font-weight: 600;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

.table th:nth-child(1), .table td:nth-child(1) { width: 270px; }
.table th:nth-child(2), .table td:nth-child(2) { width: 210px; }
.table th:nth-child(3), .table td:nth-child(3) { width: 210px; }
.table th:nth-child(4), .table td:nth-child(4) { width: 110px; }
.table th:nth-child(5), .table td:nth-child(5) { width: 100px; }
.table th:nth-child(6), .table td:nth-child(6) { width: 170px; }

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:last-child {
    border-bottom: none;
}

/* Şube, Departman ve Pozisyon Listesi Stilleri */
.table-sube,
.table-department,
.table-position {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.table-sube td, .table-sube th,
.table-department td, .table-department th,
.table-position td, .table-position th {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    white-space: normal;
    word-wrap: break-word;
    min-width: 150px;
}

.table-sube th:first-child,
.table-department th:first-child,
.table-position th:first-child {
    width: 40%;
}

.table-sube th:last-child,
.table-department th:last-child,
.table-position th:last-child {
    width: 200px;
}

.table-sube td,
.table-department td,
.table-position td {
    max-width: 0;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

/* Mobil Görünüm İçin Ek Stiller */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1rem 1.5rem;
    }

    .profile-header {
        margin: -1rem -1.5rem 1.5rem -1.5rem;
        padding: 1.5rem;
    }

    .info-group {
        flex-direction: column;
    }

    .info-label {
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .info-value {
        width: 100%;
    }

    .info-item {
        width: 100%;
        justify-content: flex-start;
    }

    .table {
        min-width: 800px;
    }
    
    .table td, .table th {
        font-size: 14px;
    }

    .table-sube,
    .table-department,
    .table-position {
        min-width: 500px;
    }

    .table-sube td, .table-sube th,
    .table-department td, .table-department th,
    .table-position td, .table-position th {
        font-size: 14px;
        padding: 0.5rem;
    }
}

.card-positions {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.card-positions .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    font-weight: 500;
}

.selected-position {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

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

.selected-position .btn-danger {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

.toast-warning {
    background-color: #ffc107;
    color: #333;
}

.toast-info {
    background-color: #17a2b8;
}

.current-branch {
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

/* Form Select Styles */
.form-select {
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    margin-left: 0.6rem;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    appearance: none;
    transition: all 0.15s ease-in-out;
}

.form-select:hover {
    background-color: #f8f9fa;
}

.form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background-color: #ffffff20;
}

.form-select:disabled {
    background-color: #e9ecef;
    opacity: 0.65;
}

.form-select option {
    padding: 0.5rem;
    background-color: #fff;
    color: #212529;
}

/* Form select seçili option stilleri */
.form-select option:checked,
.form-select option:selected {
    background-color: #e9ecef;
    color: #212529;
}

.form-select option:hover {
    background-color: #f8f9fa;
}

/* Image Cropper Styles */
#imageCropperModal .modal-dialog {
    max-width: 1000px;
    margin: 1.75rem auto;
}

#imageCropperModal .modal-content {
    height: 85vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

#imageCropperModal .modal-header {
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}

#imageCropperModal .modal-header .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#imageCropperModal .modal-header .modal-title i {
    color: #007bff;
}

#imageCropperModal .modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

.image-editor {
    display: flex;
    height: 100%;
    background: #fff;
}

.editor-main {
    flex: 1;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 400px;
}

.img-container {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

#cropperImage {
    max-width: 100%;
    max-height: 100%;
}

.editor-controls {
    width: 300px;
    background: #fff;
    border-left: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.preview-box {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.preview-container {
    width: 200px;
    height: 200px;
    margin: 1rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.preview {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.control-box {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.control-box:last-child {
    border-bottom: none;
}

.control-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-title i {
    color: #6c757d;
    width: 16px;
}

.zoom-control,
.rotation-control,
.flip-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.zoom-control .form-range {
    flex: 1;
}

.zoom-control .btn,
.rotation-control .btn,
.flip-control .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    transition: all 0.2s ease;
}

.zoom-control .btn:hover,
.rotation-control .btn:hover,
.flip-control .btn:hover {
    background: #e9ecef;
    color: #212529;
    transform: scale(1.05);
}

.rotation-control .btn,
.flip-control .btn {
    flex: 1;
}

#resetCrop {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

#resetCrop:hover {
    background: #e9ecef;
    color: #212529;
    transform: scale(1.02);
}

#imageCropperModal .modal-footer {
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

#imageCropperModal .modal-footer .btn {
    height: 40px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0 1.25rem;
}

/* Cropper.js Overrides */
.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.cropper-view-box {
    outline: 0;
    box-shadow: 0 0 0 1px #39f;
}

.cropper-face {
    background-color: transparent;
}

.cropper-dashed,
.cropper-line {
    display: none !important;
}

.cropper-point {
    width: 8px;
    height: 8px;
    background-color: #39f;
    opacity: .75;
}

.cropper-point.point-se {
    width: 5px;
    height: 5px;
}

.cropper-point.point-n,
.cropper-point.point-s,
.cropper-point.point-w,
.cropper-point.point-e {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #imageCropperModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        height: 100%;
    }

    #imageCropperModal .modal-content {
        height: 100vh;
        border: none;
        border-radius: 0;
    }

    .image-editor {
        flex-direction: column;
    }

    .editor-main {
        height: 50%;
        min-height: 300px;
    }

    .editor-controls {
        width: 100%;
        height: 50%;
    }

    .preview-box {
        padding: 1rem;
    }

    .preview-container {
        width: 150px;
        height: 150px;
    }

    .control-box {
        padding: 1rem;
    }

    .zoom-control .btn,
    .rotation-control .btn,
    .flip-control .btn {
        width: 36px;
        height: 36px;
    }
}

/* Image upload styles */
.image-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.image-upload {
    width: 150px;
    height: 150px;
    border: 2px dashed #dee2e6;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.image-upload:hover {
    border-color: #007bff;
    background: #f1f8ff;
}

.image-upload i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.image-upload:hover i {
    color: #007bff;
}

.image-upload span {
    color: #6c757d;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.image-upload:hover span {
    color: #007bff;
}

.image-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: none;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 20px;
}

.image-preview:hover .image-actions {
    opacity: 1;
}

.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-action:hover {
    transform: scale(1.1);
}

.btn-action.btn-edit {
    color: #007bff;
}

.btn-action.btn-remove {
    color: #dc3545;
}

.loading-tasks {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.loading-tasks i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.section-header {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.section-header[style*="display: none"] {
    opacity: 0;
}

.add-task-button {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.add-task-button[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}

.task-list {
    transition: opacity 0.3s ease-in-out;
}

/* Offcanvas Close Button Style */
.offcanvas-header .btn-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    position: relative;
    opacity: 1;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e9ecef;
    transition: all 0.2s ease;
}

.offcanvas-header .btn-close::before {
    content: "×";
    font-size: 28px;
    line-height: 1;
    color: #495057;
    font-weight: 300;
    margin-top: -2px;
}

.offcanvas-header .btn-close:hover {
    background-color: #dee2e6;
}

.offcanvas-header .btn-close:hover::before {
    color: #212529;
}

.offcanvas-header .btn-close i {
    display: none;
}

.task-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: none;
    transform: none;
}

.task-item:hover {
    transform: none;
    border-color: #e2e8f0;
}

.task-item.pending {
    background-color: #f8fafc;
}

.task-item.confirmed {
    background-color: #f0fdf4;
}

#completionNoteModal .modal-dialog {
    margin: 1.75rem auto;
} 

/* Personel tablosu sütun genişlikleri */
.wide-col {
    min-width: 220px !important;
    max-width: 320px !important;
    white-space: normal;
}
.narrow-col {
    min-width: 170px !important;
    max-width: 190px !important;
    white-space: nowrap;
    text-align: center;
} 

.mid-col {
    min-width: 120px !important;
    max-width: 160px !important;
    white-space: nowrap;
    text-align: center;
}

.table-left-align {
    margin-left: 0 !important;
} 