﻿/* Loading */
#preloader .s1 {
    width: 60px;
    height: 60px;
    display: table-cell;
    padding: 0px;
    vertical-align: middle;
    margin: 0 auto;
    background: #5c4514;
    text-align: center
}

    #preloader .s1 span {
        position: absolute;
        display: inline-block;
        width: 60px;
        height: 60px;
        border-radius: 100%;
        background: #ffffff;
        -webkit-animation: preloader8 1.6s linear infinite;
        animation: preloader8 1.6s linear infinite;
        margin: -30px 0 0 -30px
    }

        #preloader .s1 span:last-child {
            animation-delay: -0.8s;
            -webkit-animation-delay: -0.8s
        }

@keyframes preloader8 {
    0% {
        transform: scale(0, 0);
        opacity: 0.8
    }

    100% {
        transform: scale(1, 1);
        opacity: 0
    }
}

@-webkit-keyframes preloader8 {
    0% {
        -webkit-transform: scale(0, 0);
        opacity: 0.8
    }

    100% {
        -webkit-transform: scale(1, 1);
        opacity: 0
    }
}

#preloader {
    display: table;
    position: fixed;
    z-index: 20000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5c4514;
    text-align: center
}

.preloader1 {
    width: 60px;
    height: 60px;
    display: inline-block;
    padding: 0px;
    border-radius: 100%;
    border: 2px solid;
    border-top-color: rgba(0,0,0,0.65);
    border-bottom-color: rgba(0,0,0,0.1);
    border-left-color: rgba(0,0,0,0.1);
    border-right-color: rgba(0,0,0,0.1);
    -webkit-animation: preloader1 1s ease-in infinite;
    animation: preloader1 1s ease-in infinite;
    position: absolute;
    margin-left: -30px;
    top: 45%
}

@keyframes preloader1 {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@-webkit-keyframes preloader1 {
    from {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

/* List Dashboard Card */
.dashboard-list-icon-wrapper {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.dashboard-list-icon-column {
    background: url(../images/output-list.png);
    background-size: contain;
    background-repeat: repeat-x;
    background-blend-mode: overlay;
    border-radius: 15px;
    padding: 20px 30px;
    width: 100%;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.14);
}

.dashboard-list-icon-wrapper-icon {
    font-size: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #000000;
}

.dashboard-list-icon-wrapper-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-list-icon-wrapper-number {
    font-size: 40px;
    font-weight: bold;
}

#table_id_wrapper .dt-length label {
    display: none;
}

#table_id_wrapper .dt-info {
    display: none;
}

div.dt-container .dt-search input {
    border: 1px solid #aaa;
    border-radius: 7px;
    padding: 5px;
    background-color: transparent;
    color: inherit;
    margin-left: 3px;
    border-color: #ddd;
    margin-left: 10px;
}


/* Modals */
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

    .modal.modal-show {
        animation: fadeIn 0.1s ease-in-out forwards;
    }

    .modal.modal-hide {
        animation: fadeOut 0.1s ease-in-out 0.1s forwards;
    }

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2rem;
    border-radius: 0.25rem;
    width: 50%;
    max-height: 75%;
    overflow: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    overflow-y: auto;
    padding-right: 8px; /* içerik scrollbar yokken kaymasın */
}
    /* Chrome, Edge, Safari */
    .modal-content::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
.tab-contents::-webkit-scrollbar {
    width: 0;
    height: 0;
}
/* Firefox */
.modal-content {
    scrollbar-width: none;
}

/* IE (eski) */
.modal-content {
    -ms-overflow-style: none;
}

.modal.modal-show .modal-content {
    animation: fadeInDown 0.3s ease-in-out forwards;
}

.modal.modal-hide .modal-content {
    animation: fadeOutUp 0.2s ease-in-out forwards;
}

.modal-content h1 {
    text-align: center;
}

.modal-content p {
    margin: 1rem 0;
    line-height: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
    padding: 0 0.75rem;
    color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    user-select: none;
    z-index: 999;
    width: 30px;
    height: 30px;
}

    .modal-close:hover, .modal-close:focus {
        color: rgba(0,0,0,0.5);
    }

.modal:nth-of-type(2) {
    justify-content: initial;
    align-items: initial;
    background-color: transparent;
}

    .modal:nth-of-type(2) .modal-content {
        margin: 0;
        padding: 2rem 5rem;
        border-radius: 0;
        box-shadow: initial;
        width: 100%;
        height: 100%;
        max-height: 100%;
        text-align: justify;
    }

    .modal:nth-of-type(2) .modal-close {
        font-size: 3rem;
        padding: 0;
        width: 3rem;
        height: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .modal:nth-of-type(2).modal-show {
        animation: none;
    }

    .modal:nth-of-type(2).modal-hide {
        animation: none;
    }

    .modal:nth-of-type(2).modal-show .modal-content {
        animation: zoomIn 0.3s ease-in-out forwards;
    }

    .modal:nth-of-type(2).modal-hide .modal-content {
        animation: zoomOut 0.2s ease-in-out forwards;
    }

.modal:nth-of-type(3) {
    justify-content: flex-end;
    align-items: flex-end;
    background-color: transparent;
    overflow: hidden;
}

    .modal:nth-of-type(3).modal-show {
        animation: none;
    }

    .modal:nth-of-type(3).modal-hide {
        animation: none;
    }

    .modal:nth-of-type(3).modal-show .modal-content {
        animation: fadeInLeft 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .modal:nth-of-type(3).modal-hide .modal-content {
        animation: fadeOutRight 0.2s ease-in-out forwards;
    }

.modal:nth-of-type(4) .modal-content {
    padding: 0;
}

.modal:nth-of-type(4) .modal-header, .modal:nth-of-type(4) .modal-footer {
    background-color: steelblue;
    padding: 1rem;
    color: #fff;
    text-align: center;
}

    .modal:nth-of-type(4) .modal-header h1 {
        margin: 0;
    }

.modal:nth-of-type(4) .modal-body {
    padding: 1.25rem;
}

.modal:nth-of-type(4) .modal-close {
    color: rgba(255,255,255,0.5);
}

    .modal:nth-of-type(4) .modal-close:hover, .modal:nth-of-type(4) .modal-close:focus {
        color: rgba(255,255,255,0.75);
    }

.modal:nth-of-type(5) {
    justify-content: center;
    align-items: center;
}

    .modal:nth-of-type(5) .modal-content {
        padding: 0;
        height: 80%;
        max-height: 80%;
        width: auto;
        max-width: 80%;
        overflow: visible;
        border: 3px solid #fff;
    }

        .modal:nth-of-type(5) .modal-content img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .modal:nth-of-type(5) .modal-close {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 3rem;
        height: 3rem;
        font-size: 3rem;
        top: -1.5rem;
        right: -1.5rem;
        border-radius: 50%;
        color: #111;
        background-color: #fff;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.2);
    }

        .modal:nth-of-type(5) .modal-close:hover, .modal:nth-of-type(5) .modal-close:focus {
            color: #111; /* color: rgba(255,0,0,0.5); */
        }

    .modal:nth-of-type(5).modal-show .modal-content {
        animation: zoomIn 0.3s ease-in-out forwards;
    }

    .modal:nth-of-type(5).modal-hide .modal-content {
        animation: zoomOut 0.2s ease-in-out forwards;
    }



@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-3rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-3rem);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutRight {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsiveness */
@media(max-width: 992px) {
    html {
        font-size: 14px;
    }

    .modal-content {
        width: 80%;
    }
}

@media(max-width:767px) {
    html {
        font-size: 12px;
    }

    .modal-content {
        padding: 2rem 1rem 1rem 1rem;
        width: 90%;
    }

        .modal-content h1 {
            margin-bottom: 1.5rem;
        }

    .modal:nth-of-type(2) .modal-content {
        padding: 2rem 3rem;
    }

    .modal:nth-of-type(3) {
        justify-content: center;
    }

        .modal:nth-of-type(3) .modal-content {
            width: 80%;
        }

    .modal:nth-of-type(5) .modal-content {
        max-width: 85%;
    }
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    border-bottom: 1px solid #ddd;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 15px 10px;
}

.work-list-wrapper .list-update {
    padding: 5px;
    background: #ffd85d;
    margin-right: 2px;
    border-radius: 5px;
}

.work-list-wrapper .list-delete {
    padding: 5px;
    background: #ff5d5d;
    margin-right: 2px;
    border-radius: 5px;
}

.work-list-wrapper .list-info {
    padding: 5px;
    background: #5da4ff;
    margin-right: 2px;
    border-radius: 5px;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}



    /* Parlama katmanı */
    .logo-wrapper::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -150%;
        width: 60%;
        height: 200%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.6), transparent );
        transform: rotate(25deg);
        animation: shine 3s infinite;
    }

/* Animasyon */
@keyframes shine {
    0% {
        left: -150%;
    }

    60% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}
/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* login bg */

.loginbody {
    margin: 0;
    height: 100vh;
    background: #020617;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Ana sahne */
.cinematic-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient( circle at top left, #70571e, #47350d 70% );
    overflow: hidden;
    z-index: 0;
}

/* Akan çizgiler */
.lines {
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient( 120deg, transparent, transparent 40px, rgba(246,187,59,0.08) 40px, rgba(246,187,59,0.08) 42px );
}

/* Ön katman */
.layer1 {
    animation: moveLines 40s linear infinite;
}

/* Arka katman (daha yavaş & blur) */
.layer2 {
    filter: blur(2px);
    opacity: 0.4;
    animation: moveLinesReverse 80s linear infinite;
}

/* Işık parlaması */
.glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient( circle at center, rgba(59,130,246,0.15), transparent 60% );
    animation: pulse 6s ease-in-out infinite;
}

/* Login box demo */
.radial-gradient-body:before, .radial-gradient:before {
    display: none;
}
/* Animasyonlar */
@keyframes moveLines {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-25%, -25%);
    }
}

@keyframes moveLinesReverse {
    from {
        transform: translate(-25%, -25%);
    }

    to {
        transform: translate(0, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

#table_id {
    table-layout: fixed;
}

    #table_id tr td {
        position: relative;
        text-overflow: ellipsis; /* ... */
        white-space: nowrap;
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }

        #table_id tr td span {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
            white-space: normal;
            cursor: pointer;
            position: relative;
        }


.title-box {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    width: auto;
    white-space: normal;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    z-index: 999;
    user-select: text; /* 🔥 kopyalama */
    cursor: text;
    white-space:nowrap;
}

#table_id tr td .work-list-wrapper {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

    #table_id tr td .work-list-wrapper a {
        width: 100%;
        text-align: center
    }

form {
    display: grid;
    grid-template-columns: 2fr 2fr;
    grid-column-gap: 10px;
    padding: 2rem;
}

/* Header */
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index:999;
}

.sticky-footer {
    position: sticky;
    bottom: 0; /* padding ile hizalama */
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}
table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    border-right: 1px solid #796334;
}
#table_id thead {
    background: #5c4514;
}
form select {
    border: 1px solid #ddd !important;
    border-radius: 5px;
}

form textarea {
    border: 1px solid #ddd !important;
    border-radius: 5px;
    height: 42px;
}
form input {

    height: 42px;
}
.dropdown-i {
    background: #5b4315;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}
.hs-dropdown-menu p {
    text-align:left;
}

.tabs {
    max-width: 100%;
    margin: auto;
    font-family: Arial, sans-serif;
    display: flex;
    width: 100%;
    height: 544px;
}

    /* Radio gizle */
    .tabs input {
        display: none;
    }

/* Tab butonları */
.tab-buttons {
    position: sticky;
    display: flex;
    background: #ddd;
    align-items: center;
    justify-content: space-between;
    width: 115px;
    min-width: 115px;
    float: left;
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
}

    .tab-buttons label {
        padding: 12px 20px;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: 0.3s;
        background: #dddddd;
        color: #fff;
        width: 100%;
        text-align: center;
    }

        .tab-buttons label:hover {
            color: #fff;
        }

/* Aktif tab */
#tab1:checked ~ .tab-buttons label[for="tab1"],
#tab2:checked ~ .tab-buttons label[for="tab2"],
#tab3:checked ~ .tab-buttons label[for="tab3"] {
    color: #fff;
    background: #5c4514;
}

/* İçerikler */
.tab-contents .content {
    display: none;
    padding: 20px 0;
}

/* Aktif içerik */
#tab1:checked ~ .tab-contents .content1,
#tab2:checked ~ .tab-contents .content2,
#tab3:checked ~ .tab-contents .content3 {
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .tab-buttons {
        flex-direction: column;
    }
}


.tabs {
    max-width: 100%;
    margin: auto;
    font-family: Arial, sans-serif;
    display: flex;
    width: 100%;
    overflow: hidden;
}

    /* Radio gizle */
    .tabs input {
        display: none;
    }

/* Tab butonları */
.tab-buttons {
    position: sticky;
    display: flex;
    background: #ddd;
    align-items: center;
    justify-content: space-between;
    width: 115px;
    min-width: 115px;
    float: left;
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
}

    .tab-buttons label {
        cursor: pointer;
        transition: 0.3s;
        color: #939393;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90px;
        height: 90px;
        border-radius: 100%;
        margin: 10px auto;
    }

        .tab-buttons label i {
            font-size: 28px;
        }

        .tab-buttons label:hover {
            color: #5c4514;
        }

/* Aktif tab */
#tab1:checked ~ .tab-buttons label[for="tab1"],
#tab2:checked ~ .tab-buttons label[for="tab2"],
#tab3:checked ~ .tab-buttons label[for="tab3"],
#tab4:checked ~ .tab-buttons label[for="tab4"] {
    color: #5c4514;
    background: #fff;
}

.tab-contents {
    width: 90%;
    float: left;
    overflow-y: scroll;
}
    /* İçerikler */
    .tab-contents .content {
        display: none;
        padding: 20px 20px;
        position: relative;
    }

    .tab-contents .organization-column {
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;
        display: table;
        width: 100%;
    }

    .tab-contents .order-content span {
 
        margin-right: 2px;
        display: table;
        float: left;
    }

    .tab-contents .order-content .planning {
        background: #23aff7;
    }

    .tab-contents .order-content .continue {
        background: #cbc000;
    }

    .tab-contents .order-content .sucsess {
        background: #23f746;
    }

.organization-date-period {
    display: table;
    width: 100%;
    padding-bottom: 15px;
}

    .organization-date-period .organization-date-period-column {
        width: 100%;
        text-align: left;
    }

    .organization-date-period .organization-date-period-top {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .organization-date-period .organization-date-period-mid {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

.tab-contents .orgabs {
    position: absolute;
    right: 20px;
    top: 94px;

}

.tab-contents .planning {
    background: #23aff7;
}

.tab-contents .continue {
    background: #cbc000;
}

.tab-contents .sucsess {
    background: #23f746;
}

.tab-contents .content h3 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #5c4514;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .tab-contents .content h3 span {
        font-size: 14px;
        color: #c0c0c0;
    }

.tab-contents .content p {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
    display: table;
}

/* Aktif içerik */
#tab1:checked ~ .tab-contents .content1,
#tab2:checked ~ .tab-contents .content2,
#tab3:checked ~ .tab-contents .content3,
#tab4:checked ~ .tab-contents .content4 {
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .tab-buttons {
        flex-direction: column;
    }
}

.bo-tab-container {
    margin-bottom: 20px;
}

.bo-tab-header {
    display: flex;
    gap: 0px;
    border-bottom: 1px solid #ddd;
}

.bo-tab-btn {
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    background: #f2f2f2;
}

    .bo-tab-btn.active {
        color: #fff;
        background: #5c4514;
    }

.bo-tab-panel {
    display: none;
    padding: 20px 0px;
    grid-template-columns: 2fr 2fr;
}

    .bo-tab-panel.active {
        display: grid;
    }
.track-wrapper {
    position: relative;
}

    .track-wrapper .addRowBtn {
        transition: All 0.5s ease;
        font-size: 26px;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
        background: #5c4514;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        border-radius: 100%;
        box-shadow: none;
        border: none;
        position: sticky;
        right: 0;
        top: 8px;
        float: right;
    }

        .track-wrapper .addRowBtn:hover {
            background: #9b7a34;
            transition: All 0.5s ease;
        }

.dynamic-row {
    display: flex;
    column-gap: 15px;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

    .dynamic-row .mb-6 {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

.rowsContainer {
    width: 88%;
}

.remove-row-btn {
    background: #ddd;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    border: none;
    font-size: 23px;
    cursor: pointer;
    transition: all 0.5s ease;
}

    .remove-row-btn:hover {
        background: #e32626;
        color: #fff;
        transition: all 0.5s ease;
    }
.doc-pool {
    max-width: 950px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .3s ease;
}

    .doc-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

.doc-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width:100%;
}

.doc-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.doc-type {
    width: fit-content;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

    .doc-type.img {
        background: #e0f2fe;
        color: #0369a1;
    }

    .doc-type.pdf {
        background: #fee2e2;
        color: #b91c1c;
    }

.doc-right {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 40%;
}

    .doc-right img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
    }

    .doc-right.pdf i {
        font-size: 46px;
        color: #dc2626;
        width: 80px;
        height: 80px;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .doc-right button {
        opacity: 0;
        transform: translateY(6px);
        padding: 8px 14px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(135deg,#2563eb,#4f46e5);
        color: #fff;
        cursor: pointer;
        font-size: 13px;
        transition: .25s;
    }

.doc-card:hover button {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:700px) {
    .doc-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .doc-right {
        width: 100%;
        justify-content: space-between;
    }
}

.doc-desc {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    width: 220px;
}

    .doc-desc:focus {
        outline: none;
        border-color: #4f46e5;
    }

.action-dropdown {
    position: relative;
    margin: 0px auto;
    display: table;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #5b4315;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.action-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 250px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
    padding: 8px;
    opacity: 0;
    transform: translateY(10px);
    display: none;
    transition: .25s ease;
}

.action-dropdown.active .action-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}



.action-menu.active {
    display: block;
    opacity: 1;
    z-index: 999;
    top: 100%;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #0f172a;
    transition: .2s;
}

    .action-item i {
        font-size: 18px;
        color: #475569;
    }

    .action-item:hover {
        background: #eef2ff;
    }

    .action-item.danger {
        color: #dc2626;
    }
        .action-item.danger i {
            color: #dc2626;
        }

    .action-item.warning {
        color: rgb(220, 123, 38);        
    }

        .action-item.warning i {
            color: rgb(220, 123, 38);
        }

    .action-item.info {
        color: rgb(38, 118, 220);
    }

        .action-item.info i {
            color: rgb(38, 118, 220);
        }

    .action-item.success {
        color: #1c2a0f;
    }

        .action-item.success i {
            color: #1c2a0f;
        }

    .action-item.secondary {
        color: rgb(131, 131, 131);
    }

        .action-item.secondary i {
            color: rgb(131, 131, 131);
        }

input[type=file] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    height:58px;
   color:#fff;
}
    input[type=file]::file-selector-button {
        border: none;
        padding: 8px 16px;
        margin: 8px;
        background: #5b4315;
        border-radius: 5px;
        cursor: pointer;
    }
.gap-6 {
    gap: 200px;
}

.status-draft {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 999px;
    text-align: center;
}

.status-planned {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 999px;
    text-align: center;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 999px;
    text-align: center;
}
.dt-paging {
    display: table;
    float: right;
    margin: 15px auto;
}
#customLength {
    margin: 0px 40px;
    padding-right: 20px;
}

.route-layout{display:flex;gap:16px;padding:16px}
    .route-layout .route-panel {
        width: 400px;
        background: #fff;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        height: 540px;
        overflow: hidden;
        overflow-y: scroll;
    }
    .route-layout .timeline {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: relative;
        height: 450px;
        overflow: hidden;
        overflow-y: hidden;
        overflow-y: scroll;
    }
        
        .route-layout .timeline::before {
            content: '';
            position: absolute;
            left: 14px;
            top: 12px;
            bottom: 12px;
            width: 2px;
            background: #e5e7eb
        }
    .route-layout .point {
        display: flex;
        gap: 12px
    }
    .route-layout .dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        margin-top: 8px;
        margin-left: 8px;
        z-index: 1
    }
        .route-layout .dot.start {
            background: #22c55e
        }.dot.mid{background:#3b82f6}.dot.end{background:#ef4444}
.route-layout .card {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 8px;
    border: 1px solid #e5e7eb
}
    .route-layout .card input, .card textarea, .card select {
        background: #fff;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        padding: 8px;
        width:100%;
        font-size: 13px
    }
.route-layout .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}
.route-layout textarea {
    resize: none
}
.route-layout .add-btn {
    margin-top: 14px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    position: sticky;
    bottom: 0;
    z-index: 99;
}
.route-layout .remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    text-align: right;
    font-size: 12px
}
.route-layout #map {
    flex: 1;
    height: 540px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08)
}
.route-layout .route-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.route-layout .timeline::-webkit-scrollbar {
    width: 0px!important;
    height: 0px!important;
}
.route-layout .timeline:hover::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
}

.route-detail {
    padding: 20px;
    background: #fff;
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .route-header h2 {
        font-weight: 800;
        font-size: 20px;
    }

.route-sub {
    color: #666;
    font-size: 13px;
}

.route-timeline {
    position: relative;
    padding-left: 30px;
}

    .route-timeline::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, #3b82f6, #93c5fd);
        border-radius: 2px;
    }

.route-item {
    position: relative;
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

    .route-item .route-dot {
        width: 16px;
        height: 16px;
        background: #3b82f6;
        border-radius: 50%;
        position: absolute;
        left: -22px;
        top: 6px;
        box-shadow: 0 0 0 4px #e0edff;
    }

.route-item.completed .route-dot {
    background: #10b981;
    box-shadow: 0 0 0 4px #d1fae5;
}

    .route-item .route-card {
        background: #f9fafb;
        border-radius: 12px;
        padding: 14px 16px;
        width: 100%;
        box-shadow: 0 6px 14px rgba(0,0,0,.05);
    }

    .route-item .route-title {
        font-weight: 700;
        font-size: 15px;
    }

    .route-item .route-meta {
        font-size: 12px;
        color: #666;
        margin: 6px 0;
    }

    .route-item .route-address {
        font-size: 13px;
        color: #333;
    }

    .route-item .route-badge {
        display: inline-block;
        margin-top: 8px;
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 999px;
        background: #e0edff;
        color: #1d4ed8;
    }