﻿* {
    box-sizing: border-box;
}

html, body, .dx-widget, .signup-link, .login-link, .back-to-login-link {
    font-family: productSans !important;
    font-weight: 300;
    letter-spacing: .4px;
}


html, body {
    margin: 0;
    height: 120%;
    background-color:white;
}

:root {
    --green: #4FB068;
    --red: #FC5253;
    --blue: #6EB6DE;
    --navy: #404FA8;
    --amber: #FDA142;
    --lightGrey: #F9F9FB;
    --purple: #f3e5f5;
    --orange: #fb7750;
}

::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

    ::-webkit-scrollbar:horizontal {
        width: 3px !important;
        height: 3px !important;
    }

::-webkit-scrollbar-thumb {
    background-clip: padding-box !important;
    background-color: #bdbdbd !important;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:horizontal {
        background-color: #d5d5d5 !important;
    }

::-webkit-scrollbar-button {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

::-webkit-scrollbar-corner {
    background-color: transparent !important;
}

input[type=checkbox].cl-switcher {
    box-sizing: border-box;
    padding: 0;
    position: relative;
    height: 20px;
    width: 34px;
    -webkit-appearance: none;
    background: #ededed;
    outline: 0;
    border-radius: 15px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    transition: .3s;
    margin: 0;
    border: none;
    cursor: pointer;
    float: left;
}

    input[type=checkbox].cl-switcher:before {
        content: '';
        position: absolute;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        top: 0;
        left: 0;
        background: #fff;
        transform: scale(.8);
        transition: .3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        background-image: linear-gradient(155deg, #f2f2f2 16%, #f8f8f8 41%, #ffffff 85%);
    }

input:checked[type=checkbox].cl-switcher {
    background-color: #29b971;
}

    input:checked[type=checkbox].cl-switcher:before {
        left: 14px;
    }

input[type=checkbox].cl-switcher ~ label {
    font-size: 12px;
    color: #bfbfbf;
    margin: 0 6px;
    line-height: 20px;
    float: left;
}

.input-container {
    margin-bottom: 20px;
    position: relative;
}

    .input-container i {
        position: absolute;
        left: 6px;
        top: 0px;
        line-height: 32px;
        opacity: 0.4;
        width: 32px;
        text-align: center;
    }

        .input-container i ~ input {
            padding-left: 40px;
        }

ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.card {
    border-radius: 10px;
    margin: 20px;
    padding: 10px;
    width: 200px;
    display: inline-block;
    box-shadow: 1px 1px 7px 2px rgb(167 163 163 / 28%);
    transition: transform 0.8s, box-shadow 0.5s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    height: 250px;
    font-size: xx-small;
}

.page {
    margin-left: 156px;
    padding: 6px 60px;
}

.page-body {
    display: none;
    max-width: 1600px;
    margin: auto;
}

    .page-body.active {
        display: block;
    }

    #loginPage.active {
        display: flex;
    }

.page-row.flex-row {
    display: flex;
}

#Menu {
    display: none;
}

.menu-card {
    background-color: var(--navy);
    color: #fff;
    border-radius: 0px 24px 24px 0px;
    width: 120px;
    height: calc(100vh);
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    z-index: 99;
}

.menuitem.active {
    background-color: rgba(255,255,255,0.1);
}

.menu-card ul {
    list-style: none;
    padding: 0px;
    margin: 6px;
    text-align: center;
    width: inherit;
}

    .menu-card ul > li {
        padding: 6px;
        cursor: pointer;
        border-radius: 10px;
        transition: background-color .3s;
        margin-bottom: 12px;
        display: none;
    }

.menuitem[data-pagename="loginPage"] {
    display: list-item; /* Sadece loginPage'i göster */
}

        .menu-card ul > li:last-child {
            margin-bottom: 0px;
        }

        .menu-card ul > li:hover {
            background-color: rgba(255,255,255,0.3);
        }

        .menu-card ul > li > i {
            font-size: 14px;
            display: block;
            margin-bottom: 6px;
        }

        .menu-card ul > li > span {
            font-size: 13px;
            opacity: 0.7;
        }

.main-page-image-container {
    padding-top: 40px;
    position: relative;
    width: 100%;
}

    .main-page-image-container img {
        width: 100%;
        z-index: -1;
    }

    .main-page-image-container .main-page-image-container-header {
        text-align: center;
        padding-top: 12%;
        /* height: calc(28.7vw - 80px); */
        max-height: 500px;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
    }

    .main-page-image-container .main-page-image-container-title {
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 4px;
    }

    .main-page-image-container .main-page-image-container-subtitle {
        font-size: 14px;
        font-weight: 500;
        opacity: 0.5;
        margin: 0 0 52px;
    }

    .main-page-image-container .main-page-image-container-button {
        line-height: 36px;
        background-color: var(--green);
        color: #fff;
        border-radius: 8px;
        padding: 0 18px;
        cursor: pointer;
        transition: background-color .3s, color .3s;
        display: inline-block;
        font-size: 14px;
    }

        .main-page-image-container .main-page-image-container-button:hover {
            color: var(--green);
            background-color: #fff;
        }

.main-page-image-container-header .global-search-input-container {
    margin: auto;
}

.global-search-input-container {
    position: relative;
    width: 200px
}


.searchRow .global-search-input-container:last-child {
    width: 100%;
    margin-left: 5px;
}


.searchRow .global-search-input-container:first-child {
    width: 100%;
    margin-right: 20px;
}

.global-search-input-container input {
    cursor: text;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 12px;
    color: var(--green);
    width: 100%;
    padding: 0 12px;
    line-height: 32px;
    background-color: #fff;
    font-family: productSans !important;
    font-weight: 400;
    margin-bottom: 20px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.07);
}

.global-search-input-container i {
    position: absolute;
    right: 12px;
    color: var(--green);
    line-height: 32px;
    top: 0px;
    cursor: pointer;
}

.doctors-card-container {
    position: relative;
    width: 33.33%;
}

.doctors-card {
    background-color: var(--lightGrey);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px 0;
    margin: 20px 20px 0 0;
    position: relative;
    /*max-height: calc(100vh - 12px);*/
}

    .doctors-card.expanded {
        position: absolute;
        transform: translateY(-470px);
        width: calc( 100% - 300px);
        margin: 0px;
        z-index: 100;
        background-color: white;
    }

.card-header {
    font-weight: 600;
    font-size: 18px;
    padding: 0 20px;
    margin: 0 0 12px;
    transition: transform .4s;
}

.card-header-substitution {
    font-weight: 600;
    font-size: 18px;
    padding: 0 20px;
    margin: 0 0 12px;
    transition: transform .4s;
    position: absolute;
    top: 20px;
    transform: translateX(-110%);
}

.doctors-card-switcher.contract ~ .card-header-substitution {
    transform: translateX(0%);
}

.doctors-card-switcher.contract ~ .card-header {
    transform: translateX(-110%);
}

.doctors-card-switcher {
    background-color: rgb(224 224 225);
    position: absolute;
    right: 52px;
    top: 15px;
    height: 32px;
    width: 75px;
    border-radius: 20px;
    overflow: hidden;
    border-right: 3px solid white;
    /* box-sizing: inherit; */
    z-index: 1;
}

.doctors-card-switcher-icon {
    position: absolute;
    color: #c3c3c3;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 9;
    transition: color.3s;
}

.doctors .doctors-card-switcher-icon:first-child {
    color: var(--green);
    opacity: 0.9;
}

.contract .doctors-card-switcher-icon:nth-child(2) {
    color: var(--green);
    opacity: 0.9;
}

.doctors-card-switcher-icon:nth-child(2) {
    right: 7px;
    left: unset;
}

.doctors-card-switcher-indicator {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    background-image: linear-gradient( 155deg, #f2f2f2 16%, #f8f8f8 41%, #ffffff 85%);
    top: 3px;
    left: 39px;
    position: absolute;
    transition: left .3s;
}

.doctors .doctors-card-switcher-indicator {
    left: 3px;
}

.doctors-card-grid {
    padding: 0px 20px;
    position: relative;
    overflow: auto;
    max-height: calc(100% - 14px);
}

.doctors-grid-row {
    border-bottom: 1px solid #e4e4e4;
    position: relative;
    padding: 5px 0 5px 50px;
}

    .doctors-grid-row:last-child {
        border-bottom: none;
    }

.doctors-grid-row-icon {
    position: absolute;
    left: 0px;
    background-color: var(--blue);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 20px;
}

.doctors-grid-row-status {
    background-color: var(--red);
    border: 2px solid #fff;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    position: absolute;
    left: 29px;
}

    .doctors-grid-row-status.active {
        background-color: var(--green);
    }

.doctors-grid-row-name {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 70px);
}

.doctors-grid-row-category {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 70px);
}

.doctors-grid-row-badge-container {
    display: flex;
    position: absolute;
    right: 0px;
    top: 16px;
}

    .doctors-grid-row-badge-container i {
        border-radius: 50%;
        height: 40px;
        width: 30px;
        line-height: 40px;
        text-align: center;
        color: #000000;
        opacity: 0.15;
        font-size: 20px;
    }

.dashboard-card {
    width: 33.33%;
    display: flex;
    margin: 10px 10px 0 0;
    flex-wrap: wrap;
    align-content: flex-start;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.dashboard-item {
    border-radius: 20px;
    width: calc(33.33% - 10px);
    color: #fff;
    height: 8vw;
    background-color: var(--lightGrey);
    margin: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
    max-height: 118px;
}

    .dashboard-item:first-child {
        color: #000000;
    }

    .dashboard-item:nth-child(2) {
        background-color: var(--navy);
    }

    .dashboard-item:nth-child(3) {
        background-color: var(--blue);
    }

    .dashboard-item:nth-child(4) {
        background-color: var(--green);
    }

    .dashboard-item:nth-child(5) {
        background-color: var(--amber);
    }

    .dashboard-item:nth-child(6) {
        background-color: var(--red);
    }

    .dashboard-item:nth-child(7) {
        background-color: var(--purple);
    }

.dashboard-item-name {
    position: absolute;
    top: 22px;
    left: 12px;
    margin: 0px;
    font-weight: 500;
    opacity: 0.9;
    font-size: 12px;
}

.dashboard-item-value {
    position: absolute;
    bottom: 2px;
    right: -4px;
    font-weight: 900;
    margin: 0px;
    font-size: 48px;
    opacity: 0.2
}

.buttons-card {
    width: 33.33%;
    margin: 20px 0 0 0;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.home-button {
    margin-bottom: 10px;
    border-radius: 20px;
    height: 140px;
    background-color: var(--lightGrey);
    cursor: pointer;
    transition: background-color .4s, box-shadow .4s;
    overflow: hidden;
    background-position: -4px center;
    background-size: 160px;
    background-repeat: no-repeat;
    padding-left: 150px;
    position: relative;
}

    .home-button:hover {
        background-color: #fff;
        box-shadow: 0px 6px 60px 10px rgb(0 0 0 / 08%);
    }

    .home-button:first-child {
        background-image: url(/images/button1.png);
    }

    .home-button:nth-child(2) {
        background-image: url(/images/button3.png);
        background-size: 140px;
    }

    .home-button:nth-child(3) {
        background-image: url(/images/button2.png);
    }

.home-button-title {
    color: #272F58;
    font-weight: 500;
    font-size: 18px;
    margin: 30px 0px 0px;
}

.home-button-info {
    color: #bfbfbf;
    font-weight: 400;
    font-size: 14px;
    padding-right: 12px;
    margin: 10px 0;
}

.home-button-link {
    color: var(--navy);
    font-size: 13px;
    font-weight: 500;
    margin: 0px;
    position: absolute;
    right: 20px;
    bottom: 12px;
}

.home-button:nth-child(2) .home-button-link {
    color: var(--red);
}

.home-button:nth-child(3) .home-button-link {
    color: var(--green);
}

.side-section {
    background-color: #fff;
    border-radius: 24px 6px 6px 24px;
    width: fit-content;
    height: calc(100vh - 12px);
    position: fixed;
    top: 6px;
    right: -330px;
    opacity: 0;
    transition: transform .4s, box-shadow .4s, opacity .4s, right .3s;
    overflow: overlay;
    z-index: 99;
    pointer-events: none;
}

    .side-section.active {
        opacity: 1;
        box-shadow: 0px 6px 60px 10px rgb(0 0 0 / 18%);
        transform: translateX(-330px);
        pointer-events: all;
    }

.side-section-header {
    line-height: 40px;
    margin: 20px 0 0;
    font-size: 20px;
    font-weight: 500;
    color: #272F58;
    padding: 0 20px;
    overflow: hidden;
    transition: transform .3s;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-section-close-button {
    line-height: 0px;
    top: 30px;
    position: sticky;
    color: var(--red);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    z-index: 100;
    text-align: right;
    padding-right: 20px;
}

.side-section-body {
    transition: filter .4s;
    height: calc(100% - 60px);
    overflow: overlay;
}

.side-section-footer {
    position: sticky;
    bottom: 0px;
    width: 100%;
    padding-top: 60px;
    background: linear-gradient( 180deg, rgba(255,255,255, 0) 0%,rgba(255,255,255,.6) 20%, rgba(255,255,255,0.95) 100%);
    margin: auto;
    padding-bottom: 10px;
    display: flex;
}

.side-section-main-button {
    background-color: var(--orange);
    color: #fff;
    border-radius: 20px;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    line-height: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0px 6px 60px 10px rgb(0 0 0 / 8%);
    cursor: pointer;
    transition: box-shadow .3s;
}

    .side-section-main-button:hover {
        box-shadow: none;
    }

.side-section.hide {
    transform: translateX(-370px) scale(0.98);
    pointer-events: none;
}

    .side-section.hide .side-section-header {
        transform: rotate( -90deg );
        transform-origin: 90px 90px;
        max-width: 200px;
    }

    .side-section.hide .side-section-body {
        filter: blur(3px)
    }

.doctor-detail-section {
    background-color: #fff;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: height .3s, opacity .3s;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .doctor-detail-section.active {
        opacity: 1;
        height: 130px;
    }

    .doctor-detail-section .doctor-image {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        background-color: #fafafa;
    }

        .doctor-detail-section .doctor-image img {
            width: 120px;
            height: auto;
            margin-top: 20px;
            transform: translateX(-4px);
        }

    .doctor-detail-section .doctor-personal-info {
        padding: 0 20px;
        flex: auto;
    }

    .doctor-detail-section .doctor-name {
        font-size: 28px;
        margin: 0px;
    }

    .doctor-detail-section .doctor-phone {
        color: #bfbfbf;
        font-weight: 500;
        font-size: 13px;
    }

    .doctor-detail-section .edit-doctor-button {
        border: 1px solid #DEE4EA;
        color: #bfbfbf;
        font-weight: 500;
        font-size: 13px;
        border-radius: 16px;
        line-height: 20px;
        padding: 0 12px;
        margin-top: 12px;
        display: block;
        width: fit-content;
        cursor: pointer;
        transition: background-color .3s, color .3s;
    }

        .doctor-detail-section .edit-doctor-button:hover {
            color: #fff;
            background-color: #aeaeae;
            border-color: #aeaeae;
        }

    .doctor-detail-section .doctor-details {
        display: flex;
    }

    .doctor-detail-section .doctor-detail-item {
        border-left: 1px solid #DEE4EA;
        padding: 0 30px;
    }

        .doctor-detail-section .doctor-detail-item:first-child {
            border-left: none;
        }

    .doctor-detail-section .doctor-detail-label {
        color: #bfbfbf;
        font-weight: 500;
        font-size: 13px;
        margin: 0px;
        margin-bottom: 6px;
    }

    .doctor-detail-section .doctor-detail-value {
        font-size: 16px;
        opacity: 0.8;
        font-weight: 500;
        margin: 0px;
    }

.tab-buttons-section {
    background-color: #fff;
    border-bottom: 1px solid #DEE4EA;
    line-height: 60px;
    height: 60px;
    display: flex;
    overflow: hidden;
}

    .tab-buttons-section .scroll-area {
        display: -webkit-inline-box;
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        position: relative;
    }

        .tab-buttons-section .scroll-area .tab-button {
            color: #bfbfbf;
            font-weight: 500;
            margin-right: 30px;
            font-size: 14px;
            position: relative;
            cursor: pointer;
            transition: color.3s;
            overflow: hidden;
            flex: none;
        }

            .tab-buttons-section .scroll-area .tab-button:after {
                content: '';
                width: 100%;
                height: 3px;
                background-color: var(--blue);
                position: absolute;
                bottom: -4px;
                left: 0px;
                border-radius: 2px 2px 0 0;
                transition: opacity .3s, bottom .3s;
                opacity: 0;
            }

            .tab-buttons-section .scroll-area .tab-button.active:after {
                bottom: 0px;
                opacity: 1;
            }

            .tab-buttons-section .scroll-area .tab-button.active {
                color: #000000;
            }

.scroll-area-shadow {
    position: sticky;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100px;
    background: linear-gradient( 90deg, rgba(255,255,255, 0) 0%,rgba(255,255,255,.6) 20%, rgba(255,255,255,0.95) 100%);
}

.tab-buttons-section .static-area {
    width: fit-content;
    flex: none;
    border-left: 1px solid #DEE4EA;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tab-buttons-section .static-area .save-button {
        background-color: var(--blue);
        color: #fff;
        font-weight: 400;
        border-radius: 12px;
        line-height: 30px;
        width: fit-content;
        padding: 0 20px;
        margin: 0 10px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color .3s, color .3s;
    }

        .tab-buttons-section .static-area .save-button:hover {
            color: var(--blue);
            background-color: #fff;
        }

    .tab-buttons-section .static-area .expense-button {
        background-color: var(--blue);
        color: #fff;
        font-weight: 400;
        border-radius: 12px;
        line-height: 30px;
        width: fit-content;
        padding: 0 20px;
        margin: 0 10px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color .3s, color .3s;
    }

        .tab-buttons-section .static-area .expense-button:hover {
            color: var(--blue);
            background-color: #fff;
        }

    .tab-buttons-section .static-area .confirm-button {
        background-color: var(--blue);
        color: #fff;
        font-weight: 400;
        border-radius: 12px;
        line-height: 30px;
        width: fit-content;
        padding: 0 20px;
        margin: 0 10px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color .3s, color .3s;
    }

        .tab-buttons-section .static-area .confirm-button:hover {
            color: var(--blue);
            background-color: #fff;
        }

    .tab-buttons-section .static-area .suggestion-button {
        background-color: var(--blue);
        color: #fff;
        font-weight: 400;
        border-radius: 12px;
        line-height: 30px;
        width: fit-content;
        padding: 0 20px;
        margin: 0 10px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color .3s, color .3s;
    }

        .tab-buttons-section .static-area .suggestion-button:hover {
            color: var(--blue);
            background-color: #fff;
        }



.tab-bodies-section {
    transition: opacity .4s;
}

    .tab-bodies-section.hide {
        opacity: 0;
    }

    .tab-bodies-section .swiper-slide {
        padding: 10px 0;
    }

        .tab-bodies-section .swiper-slide > .cl-switcher-container {
            position: absolute;
            top: 30px;
            right: 0px;
        }

            .tab-bodies-section .swiper-slide > .cl-switcher-container input[type=checkbox].cl-switcher, .tab-bodies-section .swiper-slide > .cl-switcher-container label {
                float: right;
            }

    .tab-bodies-section .tab-content-bar {
        display: flex;
        margin-top: 20px;
    }

    .tab-bodies-section .tab-content-bar-item {
        /*border-left: 1px solid #DEE4EA;*/
        padding: 0 30px;
    }

        .tab-bodies-section .tab-content-bar-item:first-child {
            border-left: none;
            padding-left: 0px;
        }

    .tab-bodies-section .tab-content-bar-label {
        color: #bfbfbf;
        font-weight: 500;
        font-size: 13px;
        margin: 0px;
        margin-bottom: 6px;
    }

    .tab-bodies-section .tab-content-bar-value {
        font-size: 16px;
        opacity: 0.8;
        font-weight: 500;
        margin: 0px;
    }

    .tab-bodies-section .tab-content-bar-value {
        font-size: 16px;
        opacity: 0.8;
        font-weight: 500;
        margin: 0px;
    }

    .tab-bodies-section .tab-content {
        display: flex;
        margin-top: 20px;
        flex-direction: column;
    }

.tab-content-card {
    flex: auto;
}

    .tab-content-card:first-child {
        max-width: 380px;
        flex: none;
        width: 100%;
    }

    .tab-content-card:last-child {
        margin-right: 0px;
    }

.tab-content-card-section {
    border-bottom: 1px solid #DEE4EA;
    margin: 0 20px;
    padding-bottom: 20px;
}

    .tab-content-card-section:last-child {
        border-bottom: none;
    }

.tab-content-card-section-header {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 30px;
}

.tab-content-card-section .cl-switcher-container:first-child {
    padding-top: 15px;
}

.tab-content-card.tab-content-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px 30px;
    background-color: #fff;
}

    .tab-content-card.tab-content-info i {
        font-size: 48px;
        opacity: 0.3;
        max-width: 520px;
        display: block;
        width: 100%;
        text-align: center;
    }

.tab-content-card .tab-content-info-text {
    font-size: 14px;
    max-width: 520px;
    margin: 20px 0 0;
    text-align: right;
    color: #9e9e9e;
}

span.tab-content-info-text-title {
    font-size: 20px;
    font-weight: 400;
}

.dx-texteditor.dx-editor-underlined::after {
    border-bottom: 0px solid rgba(0,0,0,.42) !important;
}

.dx-searchbox.dx-editor-underlined .dx-icon-search {
    left: 2px;
}

.side-section-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sideElement {
    padding: 20px !important;
    width: 100px;
    height: 100% !important;
}

.dx-datagrid-rowsview .dx-row.dx-group-row td {
    border: none
}

.pageTitle {
    opacity: 0.7;
    margin-bottom: 50px !important;
    margin-top: 50px !important;
}

    .pageTitle.nomargin {
        margin: 0px !important
    }

.dx-datagrid-borders > .dx-datagrid-rowsview, .dx-datagrid-borders > .dx-datagrid-total-footer {
    border: none
}


.dx-datagrid-headers.dx-header-multi-row .dx-datagrid-content .dx-datagrid-table .dx-row.dx-header-row > td:first-child {
}

.dx-datagrid-headers.dx-header-multi-row .dx-datagrid-content .dx-datagrid-table .dx-row.dx-header-row > td:last-child {
}


.dx-datagrid, .dx-datagrid-header-panel, .dx-datagrid .dx-toolbar {
    background-color: transparent;
}

.dx-datagrid-header-panel {
    border-bottom: 0px solid #e0e0e0;
}

.dx-datagrid-borders > .dx-datagrid-filter-panel, .dx-datagrid-borders > .dx-datagrid-headers, .dx-datagrid-borders > .dx-datagrid-pager {
    border: none
}

.dx-datagrid-borders > .dx-datagrid-rowsview, .dx-datagrid-borders > .dx-datagrid-total-footer {
    border: none
}

.doctors-card-full-screen {
    color: #c3c3c3;
    border-radius: 30px;
    background-color: #e0e0e1;
    width: 38px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    position: absolute;
    right: 20px;
    top: 15px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    cursor: pointer;
}

    .doctors-card-full-screen:hover {
        background-color: #60b777;
        color: white;
    }

.searchPanelBackground {
    background: #9e9e9e14;
    height: calc(100vh - 125px);
    width: 100vw;
    position: absolute;
    top: 125px;
    left: 0px;
}

.fullscreen-grid-background {
    position: absolute;
    top: 46px;
    right: 55px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 2;
    display: inline-block;
    width: 10px;
    height: 10px;
    /* */
    transition: transform 0.8s;
    opacity: 0;
    pointer-events: none;
}

    .fullscreen-grid-background.active {
        opacity: 1;
        transform: scale(585);
        pointer-events: all;
    }

body {
    overflow: overlay;
}

.fullscreenPage {
    overflow: hidden;
}

#searchPage {
    margin: 0px
}

.searchPageHeader .resultLabel {
    font-size: 13px;
    color: #9e9e9e;
}

.searchPageHeader {
    padding-bottom: 40px;
}

h1 {
    font-weight: 400;
}

.searchPanelDots {
    background-image: url(../images/dot.svg);
    width: 38px;
    height: 92px;
    background-size: 7px;
    position: absolute;
    left: 150px;
    top: 100px;
}

.search-result-row {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    align-content: center;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
    background: white;
    height: 102px;
    border-radius: 10px;
    box-shadow: -1px 1px 3px 0px #0000000d;
    margin: 3px;
}

.search-result-avatar {
    background: linear-gradient( 324deg, #9e3ab7d9, #2196f3);
    height: 71px;
    width: 61px;
    border-radius: 4px;
    margin: 11px;
}

.avatarDots {
    background-image: url(../images/dot.svg);
    width: 36px;
    height: 92px;
    background-size: 13px;
    filter: invert(1);
    position: absolute;
}

.search-result-avatar .id {
}

.page {
    margin-left: 150px;
    padding: 6px 40px;
}

.pageHeader {
    background-color: #fff;
    border-radius: 0 0 24px 24px;
    height: 140px;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    padding: 8px 40px 8px 190px;
    display: flex;
    align-items: center;
}

.pageTitle {
    margin: 0px;
    font-size: 28px;
    font-weight: 500;
}

.pageSubtitle {
    opacity: 0.4;
    font-size: 13px;
    font-weight: 500;
    padding: 0px 12px;
    margin-top: 10px;
    display: block;
}

.pageHeader .inputContainer {
    position: relative;
}

    .pageHeader .inputContainer i {
        position: absolute;
        top: 0px;
        left: 15px;
        line-height: 32px;
        text-align: center;
        opacity: 0.4;
    }

        .pageHeader .inputContainer i ~ select {
            padding: 0 20px 0 40px;
        }

.pageHeader select {
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 20px;
    width: 100%;
    padding: 0 12px;
    line-height: 32px;
    height: 32px;
    background-color: #fff;
    font-family: productSans !important;
    font-weight: 500;
    box-shadow: 0px 6px 14px 6px rgb(0 0 0 / 4%);
    -webkit-appearance: none;
    color: #919191;
    cursor: pointer;
}

input[type=checkbox].switcher {
    box-sizing: border-box;
    padding: 0;
    position: relative;
    height: 20px;
    width: 34px;
    -webkit-appearance: none;
    background: #ededed;
    outline: 0;
    border-radius: 15px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    transition: .3s;
    margin: 0;
    border: none;
    cursor: pointer;
    float: left;
}

    input[type=checkbox].switcher:before {
        content: '';
        position: absolute;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        top: 0;
        left: 0;
        background: #fff;
        transform: scale(.8);
        transition: .3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        background-image: linear-gradient(155deg, #f2f2f2 16%, #f8f8f8 41%, #ffffff 85%);
    }

input:checked[type=checkbox].switcher {
    background-color: #29b971;
}

    input:checked[type=checkbox].switcher:before {
        left: 14px;
    }

input[type=checkbox].switcher ~ label {
    font-size: 12px;
    color: #bfbfbf;
    margin: 0 6px;
    line-height: 20px;
    float: left;
}

.searchResults {
    margin-top: 160px;
    position: relative;
}

.searchResultCard {
    max-width: 680px;
    box-shadow: 0px 6px 14px 3px rgb(0 0 0 / 3%);
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 140px;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}

.searchResultCardImage {
    height: 100px;
    width: 100px;
    border-radius: 6px;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 800;
    overflow: hidden;
    position: relative;
}

    .searchResultCardImage.type1 {
        background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .searchResultCardImage span {
        position: absolute;
        bottom: 0px;
        right: -4px;
        line-height: 32px;
        font-size: 50px;
        font-weight: 500;
        opacity: 0.2;
        color: #fff;
    }

.searchResultCardBody {
    padding: 6px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resultCardName {
    font-size: 16px;
    font-weight: 500;
    margin: 0px;
}

.resultCardInfo {
    display: flex;
    line-height: 14px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(0,0,0,0.4);
    margin-top: 2px;
}

    .resultCardInfo span {
        margin-right: 4px;
    }

        .resultCardInfo span.bullet {
            font-size: 8px;
        }

        .resultCardInfo span.active {
            color: var(--green)
        }

        .resultCardInfo span.paused {
            color: var(--amber)
        }

        .resultCardInfo span.passive {
            color: var(--red)
        }

.searchResultCardIcons {
    padding: 0 20px;
    border-left: 1px solid #eeeeee;
    margin-left: auto;
    width: 200px;
}

    .searchResultCardIcons > div {
        display: flex;
        margin-bottom: 14px;
        align-items: center;
    }

        .searchResultCardIcons > div:last-child {
            margin-bottom: 0px;
        }

        .searchResultCardIcons > div i {
            opacity: 0.4;
            margin-right: 12px
        }

        .searchResultCardIcons > div span {
            opacity: 0.4;
            font-size: 13px;
            font-weight: 500;
            white-space: break-spaces;
        }

.searchResultCardBadge {
    position: absolute;
    border: 4px solid #F7F8FA;
    top: 0px;
    bottom: 0px;
    margin: auto;
    right: -10px;
    background-color: var(--red);
    height: 26px;
    width: 26px;
    border-radius: 50%;
}

    .searchResultCardBadge.active {
        background-color: var(--green);
    }

.resultCardButtons {
    display: flex;
    margin-top: auto;
}

.resultCardButton {
    margin-right: 12px;
    border-radius: 6px;
    background-color: #eeeeee;
    color: #9d9d9d;
    line-height: 22px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

    .resultCardButton:hover {
        background-color: #fff;
    }

    .resultCardButton.delete {
        background-color: var(--red);
        color: rgba(255,255,255,0.8)
    }

        .resultCardButton.delete:hover {
            color: var(--red);
            background-color: #fff;
        }

.searchResults > img {
    position: absolute;
    opacity: 0.06;
    top: -60px;
    left: 760px;
    width: 200px;
}

.sideSection {
    background-color: #fff;
    border-radius: 24px 0px 0px 24px;
    width: 320px;
    height: calc(100vh - 12px);
    position: fixed;
    top: 6px;
    right: -330px;
    opacity: 0;
    transition: transform .4s, box-shadow .4s, opacity .4s;
    overflow: hidden;
    z-index: 99;
    overflow: auto;
}

    .sideSection.active {
        opacity: 1;
        box-shadow: 0px 6px 60px 10px rgb(0 0 0 / 18%);
        transform: translateX(-330px);
    }

.sideSectionCloseButton {
    position: absolute;
    left: 14px;
    top: 20px;
    font-size: 22px;
    width: 30px;
    height: 30px;
    color: #000000;
    cursor: pointer;
    transition: opacity .3s;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

    .sideSectionCloseButton:hover {
        opacity: .5;
    }

.sideSectionBody .name {
    font-size: 30px;
    font-weight: 500;
    margin: 0px;
}

.sideSectionBody .status {
    font-size: 13px;
    font-weight: 500;
}

    .sideSectionBody .status.paused {
        color: var(--amber);
    }

.sideSectionBody .badge-container {
    display: flex;
    margin: 30px 0;
    justify-content: center;
}

    .sideSectionBody .badge-container > div {
        border-radius: 8px;
        color: #fff;
        width: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 6px;
        font-size: 16px;
        margin-right: 8px;
    }

        .sideSectionBody .badge-container > div:last-child {
            margin-right: 0px;
        }

        .sideSectionBody .badge-container > div span {
            color: #000000;
            font-size: 14px;
            font-weight: 500;
            margin-top: 12px;
        }

.sideSectionBody .grid {
    font-size: 14px;
    font-weight: 500;
}

.sideSectionBody .gridHeader {
    font-size: 20px;
    font-weight: 500;
    margin: 0px 0px 8px;
}

.sideSectionBody .grid table tr {
    line-height: 24px;
}

.sideSectionBody .card {
    border-radius: 12px;
    background-color: #FE7477;
    height: 120px;
    color: #fff;
    width: 100%;
    overflow: visible;
    margin: 40px 0px;
}

    .sideSectionBody .card > img {
        position: absolute;
        width: 151px;
        top: -12px;
        left: -8px;
    }

    .sideSectionBody .card > p {
        font-weight: 500;
        margin: 4px 0px 5px 170px;
    }

    .sideSectionBody .card > span {
        margin-left: 170px;
        font-weight: 400;
        font-size: 13px;
        color: #FE7477;
        background-color: #fff;
        padding: 0 14px;
        border-radius: 20px;
        line-height: 20px;
        display: inline-block;
        box-shadow: 0px 6px 14px 6px rgb(0 0 0 / 4%);
        cursor: pointer;
        transition: box-shadow .3s;
    }

        .sideSectionBody .card > span:hover {
            box-shadow: none;
        }



.sideSearchPanel {
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px
}

.side-section-label.header {
    padding: 22px 0px 0px 16px;
    color: #d6d6e9;
    font-weight: 400;
    max-width: 400px;
    /* overflow-x: hidden; */
    max-height: 50px;
    white-space: nowrap;
    overflow: auto;
}

.side-section-label.subttitle {
    padding: 6px 0px 10px 14px;
    color: #3e3e70;
    font-size: 25px;
    font-weight: 600;
    max-width: 400px;
    max-height: 96px;
    overflow-y: scroll;
    overflow-wrap: break-word;
}

.sideSearchPanel .searchRow {
    width: 400px;
    margin: 27px 0px 0px 13px;
    display: flex;
    justify-content: space-between;
}

.global-search-input-container.alternative input {
    padding: 3px 0px 0px 70px;
    height: 49px;
    width: 100%;
    box-shadow: -1px 13px 120px 0px rgb(0 0 0 / 14%);
}

.global-search-input-container.alternative i {
    left: 28px;
    right: unset;
    top: 10px;
    color: #dad6d6;
    font-weight: normal;
    font-size: 20px;
}

.sideSearchPanel .button {
    width: 60px;
    height: 50px;
    border-radius: 14px;
    border: 0px;
    background-color: #fb7750;
    box-shadow: 1px 4px 6px #fb77503b;
}

    .sideSearchPanel .button i {
        color: white;
        font-size: 20px;
        width: 100%;
        text-align: center;
        line-height: 49px;
        vertical-align: middle;
        height: 100%;
    }

.sideSearchPanel .imageHolder {
    margin-left: 12px;
    margin-top: -5px;
    width: 400px;
    height: 150px;
}

    .sideSearchPanel .imageHolder .labels {
        position: relative;
        left: 39px;
        color: white;
        top: 52px;
    }

.side-section-big-title {
    margin-left: 15px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px
}

.tag {
    font-size: 12px;
    border-radius: 30px;
    background: #e7e7e7;
    padding: 5px 14px;
    color: #808080;
}

.labelRow {
    display: flex
}

    .labelRow .name {
        width: 100%;
        font-size: 12px;
        font-weight: bold;
    }

    .labelRow .badge {
        border-radius: 13px;
        background: #ff5722;
        padding: 2px 9px;
        color: white;
        font-size: 10px;
        font-weight: bold;
        margin-left: 4px;
        text-align: center;
        line-height: 16px;
    }

        .labelRow .badge:nth-child(3) {
            background: #e91e63;
        }

/*.dx-selection td {
    border-bottom-color: white !important;  
}*/
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td {
}



span.side-section-label.Description {
    max-width: 409px;
    font-size: 13px;
    padding-left: 15px;
    margin-bottom: 20px;
}

.doctorInfo {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d3d3d340;
}

.dx-selection .doctorInfo {
    border-bottom: 1px solid transparent;
}

.doctorInfo .bullet {
    padding: 0px 3px;
}

.branchname {
    font-size: 11px;
    color: #4caf50;
}

.hospitalname {
    font-size: 11px;
    font-weight: 200;
}

.taskcategory {
    text-align: right;
    font-weight: 200;
}

.hireddate {
    text-align: right
}

.doctorname {
    font-size: 16px;
    font-weight: 800;
}

.editor-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-section-button {
    border-radius: 50%;
    padding: 0px 5px;
    cursor: pointer;
    height: 19px;
    line-height: 19px;
    text-align: center;
}

.editor-section:hover {
    color: var(--blue);
    cursor: pointer
}

.editor-section {
    color: gray;
}

.dx-filemanager-details .dx-datagrid-header-panel {
    display: none;
}

.dx-filemanager {
    border-color: #ffffff;
}

.side-section-into {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.dx-row.dx-selection {
    box-shadow: -1px 1px 15px 0px #0000001f;
}

.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused).dx-row-lines > td, .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover.dx-row-lines > td {
    border: none;
}

.tab-content-info-text-image {
    height: 200px;
    width: 349px;
}

.data-editor-bigtitle {
    padding: 20px 0px;
    font-size: 38px;
    color: darkgray;
    border-bottom: 1px solid #a9a9a936;
}

.data-editor-bigtitlesub {
    padding: 10px 10px;
    font-size: 12px;
    color: black;
    border-bottom: 1px solid #a9a9a936;
}

.noborder {
    padding: 0px 0px 10px 0px;
    border-bottom: 0px solid #a9a9a936;
}

.data-editor-section {
    padding: 20px 0px;
    color: #6d6d6d;
    border-bottom: 1px solid #a9a9a936;
    display: flex;
    flex-direction: row;
    /*  align-items: center;*/
}

    .data-editor-section.wrap {
        flex-wrap: wrap;
    }

    .data-editor-section:last-child {
        border-bottom: 0px solid #a9a9a936;
    }


    .data-editor-section.bottom {
        align-items: start;
        flex-direction: column;
    }

.data-editor-label {
    display: flex;
    flex-direction: column;
    padding: 0px 40px 0px 20px;
    width: 51%;
}

.data-editor-title {
    padding: 10px 0px;
    font-weight: 600;
    color: #616161;
}

.data-editor-control {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.w50 {
    width: 50%;
    flex: 0 0 49%;
}

.w100 {
    width: 100%;
    flex: 0 0 100%;
}


.w33 {
    width: 33%;
    flex: 0 0 32%;
}


.w25 {
    width: 25%;
    flex: 0 0 24%;
}


.flow .contract-control {
    margin-right: 5px;
}

.data-editor-control.flow {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.dx-placeholder, .dx-texteditor-input {
    font-size: 11px;
}

.dx-texteditor-label .dx-label span {
    font-size: 12px
}

.dx-rtl .dx-texteditor.dx-editor-filled.dx-show-clear-button .dx-texteditor-input, .dx-rtl .dx-texteditor.dx-editor-outlined.dx-show-clear-button .dx-texteditor-input, .dx-rtl.dx-texteditor.dx-editor-filled.dx-show-clear-button .dx-texteditor-input, .dx-rtl.dx-texteditor.dx-editor-outlined.dx-show-clear-button .dx-texteditor-input, .dx-texteditor.dx-editor-filled .dx-placeholder::before, .dx-texteditor.dx-editor-filled .dx-texteditor-input, .dx-texteditor.dx-editor-outlined .dx-placeholder::before, .dx-texteditor.dx-editor-outlined .dx-texteditor-input {
    /*    padding: 10px 12px 10px;*/
}

.contract-control {
    border-radius: 10px;
    margin-bottom: 20px
}

.contract-control-container {
    margin-bottom: 20px
}

    .contract-control-container:last-child {
        margin-bottom: 0px
    }

.contract-control:last-child {
    margin-bottom: 0px
}

.contract-control-container .contract-control {
    margin-bottom: 0px
}

.tabSlider .dx-texteditor.dx-editor-filled.dx-state-hover::after, .row-editor .dx-texteditor.dx-editor-filled.dx-state-hover::after, #loginPage .dx-texteditor.dx-editor-filled.dx-state-hover::after {
    border-bottom: 0px solid rgba(0,0,0,.87);
}

.tabSlider .dx-texteditor.dx-state-active::before, .dx-texteditor.dx-state-focused::before {
    border-bottom: 0px solid #03a9f4;
}

.tabSlider .dx-state-focused.dx-widget, .tabSlider .dx-state-active.dx-widget {
    /*box-shadow: 3px 3px 10px 0px #00000026*/
}

.tabSlider .dx-state-focused.dx-treeview, .tabSlider .dx-state-active.dx-treeview {
    box-shadow: none
}

.tabSlider .dx-texteditor-container .dx-button, .row-editor .dx-texteditor-container .dx-button {
    transform: scale(0.7);
}

.tabSlider .dx-editor-filled .dx-texteditor-buttons-container:last-child > .dx-button:last-child, .dx-editor-outlined .dx-texteditor-buttons-container:last-child > .dx-button:last-child {
    margin-right: 1px;
}

.contract-control-container label {
    font-size: 13px;
    padding-left: 20px
}

.data-editor-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
}



.tab-content-bar .data-editor-section {
    flex-direction: column;
    padding: 2px 0px;
    border: none
}

.tab-content-bar .data-editor-label {
    min-width: unset;
    padding: 0px 0px 0px 0px;
}

.tab-content-bar .data-editor-title {
    padding: 6px 0px;
    font-weight: 600;
    font-size: 19px;
    color: black;
}

.tab-content-bar .dx-texteditor.dx-editor-filled {
    background-color: rgb(255 255 255 / 4%);
}

.tab-content-bar .dx-placeholder {
    text-align: center;
    width: 100%;
}

.tab-content-bar input {
    text-align: center;
}

.tab-content-bar .dx-texteditor-buttons-container {
    position: absolute;
    right: 2px !important;
    top: -1px;
}

.tab-content-bar .dx-state-focused .dx-texteditor-buttons-container {
    display: none;
}

.tab-content-bar .dx-texteditor-container {
    overflow: visible
}

.swiper-hidden-slide {
    display: none !important;
    float: left;
}

.hidden {
    display: none !important
}

.flex-column {
    flex-direction: column;
    align-items: self-start;
}

    .flex-column .data-editor-label {
        padding-bottom: 20px
    }


.data-editor-bigtitle i {
    font-size: 19px;
    vertical-align: middle;
    padding-right:20px;
}

.data-editor-label.rotated {
    transform: rotate( 270deg );
    transform-origin: 0 100%;
    max-width: 10px;
    position: absolute;
    left: -43px;
}

.customButton .dx-datagrid-header-panel {
    border-bottom: 0;
    position: absolute;
    top: 18px;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.customButton .dx-datagrid .dx-toolbar-item-content {
    pointer-events: all;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 4px;
    position: absolute;
    right: 0px;
    top: -66px;
}

.customButton .dx-datagrid .dx-toolbar-item-auto-hide .dx-toolbar-item-content {
    pointer-events: all;
    background: #ffc107;
    border-radius: 50%;
    color: white !important;
    box-shadow: 0px 4px 17px 0px #ffeb3b;
    position: initial;
}

.customButton .dx-datagrid .dx-datagrid-search-panel.dx-state-focused {
    box-shadow: none !important;
}

.dx-popup-content .dx-texteditor {
    background: rgba(0,0,0,.04);
    border-radius: 10px;
    padding: 6px;
}

.dx-popup-content .dx-datagrid-content .dx-texteditor {
    background: rgba(0,0,0,0);
    padding: 0px;
}

.data-editor-section.column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .data-editor-section.column > * {
        padding-bottom: 20px;
        padding-left: 0px;
    }

        .data-editor-section.column > *:last-child {
            padding-bottom: 0px
        }

.toolbar-button {
    background: white !important;
    color: var(--red) !important;
    border: 2px solid var(--red) !important;
}

    .toolbar-button.ok {
        background: white !important;
        color: var(--green) !important;
        border: 2px solid var(--green) !important;
    }

.contract-template-button {
    background: white !important;
    color: var(--green) !important;
    border: 2px solid var(--green) !important;
}

/*.dx-datagrid-nodata {
    background-image: url(/images/nodata.png);
    min-height: 63px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    
}*/
.noselection {
    text-align: center;
    background: #e91e63;
    /* width: fit-content; */
    padding: 2px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: white;
    line-height: 18px;
    opacity: .2;
}

.grossingrateCalculation {
    height: 20px;
    vertical-align: middle;
    margin-bottom: 20px;
    margin-left: 15px;
    border-radius: 20px;
    background: #e91e63;
    /* width: 20px; */
    height: 20px;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    padding: 0px 10px;
}

.dx-checkbox-icon {
    display: inline-block;
    position: relative;
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    border: 0px solid rgba(0,0,0,.54);
    border-radius: 50%;
    background-color: #e91e635c;
}

.dx-checkbox-checked .dx-checkbox-icon {
    background-color: #43a04770 !important;
    border-radius: 50%;
    font-size: 10px;
}

.row-editor .container {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    margin-bottom: 20px;
    margin-right: 20px;
}

.row-editor .dx-widget {
}

.row-editor .dx-texteditor {
    border-radius: 10px;
    height: 36px;
}

.row-editor .label {
    font-size: 12px;
    color: black;
    font-weight: 500;
}

.row-editor .description {
    padding-bottom: 6px;
    font-size: 12px;
}

.stickyheader .dx-datagrid-headers {
    padding-right: 0px;
    position: sticky;
    top: 0px;
    background: white !important;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.stickyheader .dx-datagrid-content {
    background: white;
}

.grouplabel {
    color: #3e3e70;
    font-size: 25px;
    font-weight: 600;
    padding: 20px 0px 10px;
    border-bottom: 1px solid whitesmoke;
    margin: 0px 0px 29px 0px;
    width: 100%
}

.dx-naturalform-container {
    font-size: 27px;
    padding: 23px 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .dx-naturalform-container .text-element {
        padding: 0px 5px;
        white-space: nowrap;
        line-height: 37px;
    }

    .dx-naturalform-container .control-element {
        margin: 5px 3px;
        height: fit-content;
    }

    .dx-naturalform-container .dx-placeholder, .dx-naturalform-container .dx-texteditor-input {
        font-size: 27px;
        color: black;
    }

    .dx-naturalform-container .dx-texteditor.dx-editor-underlined .dx-placeholder::before, .dx-naturalform-container .dx-texteditor.dx-editor-underlined .dx-texteditor-input {
        padding: 0px
    }

    .dx-naturalform-container input {
        text-overflow: clip !important;
    }

.dx-widget input, .dx-widget textarea {
    font-family: productSans;
    line-height: 1.2857;
}

.dx-naturalform-container .dx-button-mode-text .dx-icon {
    color: black;
    transform: scale(0.9)
}

.dx-naturalform-container .dx-texteditor-buttons-container {
    align-items: flex-end;
}

.dx-naturalform-container .dx-button-has-text .dx-button-content {
    padding: 1px 16px;
}

.dx-naturalform-container .dx-button-text {
    white-space: pre-wrap;
}

.lookupSelector .dx-datagrid-header-panel, .active-rowEditor .dx-datagrid-header-panel {
    padding: 0px
}

.lookupSelector .dx-toolbar-after, .active-rowEditor .dx-toolbar-after {
    width: 100%;
    padding: 0px;
    margin: 0px;
}


    .lookupSelector .dx-toolbar-after .dx-texteditor-container, .active-rowEditor .dx-toolbar-after .dx-texteditor-container {
        width: 400px;
    }

.lookupSelector .dx-searchbox.dx-editor-underlined .dx-placeholder::before, .lookupSelector .dx-searchbox.dx-editor-underlined .dx-texteditor-input {
    padding-left: 35px
}

.entityCell {
    white-space: pre-wrap;
}

.invoiceVatIdCustom {
    opacity: 0;
    transition: 1s;
    color: white;
}

    .invoiceVatIdCustom.active {
        opacity: 1;
        background: #e91e63;
        border-radius: 20px;
        padding: 4px;
        font-size: 10px;
        margin-left: 10px;
    }

.doctorInfo.pool {
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    border-bottom: unset;
    /* width: 100%; */
    align-items: center;
    align-content: stretch;
}

.pool .doctorname {
    padding-bottom: 6px;
}

.side-section-footer .delete {
    background: var(--red)
}

.page-body.fullscreen {
    width: 100vw;
    height: 100vh;
    margin: 0px;
    background: white;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
    max-width: 100%;
}


div#loginPage.active {
    display: flex;
}

div#loginPage {
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 55px;
    border-radius: 17px;
    height: 70%;
}

#loginPage .main-divider {
    display: flex;
    justify-content: center;
    align-content: space-around;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    width: 1100px;
    height: 700px;
    background-color: white;
    z-index: 3
}

    #loginPage .main-divider:nth-child(1) {
        position: absolute;
        transform: translateY(-35px) scale(0.9);
        opacity: 0.6;
        transform-origin: top;
    }

    #loginPage .main-divider:nth-child(2) {
        position: absolute;
        transform: translateY(-73px) scale(0.8);
        opacity: 0.3;
        transform-origin: top;
    }

#loginPage span.maintitle {
    font-size: 28px;
    font-weight: 300;
    line-height: 55px;
}

#loginPage span.subtitle {
    font-size: 12px;
}

#loginPage .main-divider .left img {
    border-right: 1px solid #00000036;
    padding: 0px;
    width: 100%;
}

#loginPage .main-divider .right {
    margin: 106px;
    width: 434px;
}

#loginPage .username-password-container {
    display: flex;
    flex-direction: column;
}

#loginPage .label {
    font-size: 11px;
    padding: 9px 0px;
}

#loginPage .dx-texteditor {
    background-color: #f3f5fb;
    border-radius: 7px;
    overflow: hidden;
    margin: 5px;
}

#loginPage .title {
    padding-bottom: 40px;
}

#loginPage.hide {
    visibility: hidden;
}


.login-button, .signup-button, .reset-button, .verify-button {
    background: #0f6af4;
    border-radius: 7px;
    margin: 20px;
    color: white;
    font-size: 12px;
}

.login-section, .signup-section, .forgot-password-section, .verification-section {
    position: relative;
    border: 1px solid #37363636;
    padding: 20px;
    border-color: transparent;
    margin-top: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

/* Link stilleri */
.signup-link, .login-link, .forgot-password-link, .back-to-login-link {
    margin-top: 15px;
    font-size: 14px;
}

    /* Linklerin yeni stilleri */
    .signup-link a, .login-link a, .forgot-password-link a, .back-to-login-link a {
        color: #800080; /* Mor renk */
        text-decoration: none; /* Altı çizgili olmaması */
        font-weight: bold;
    }

.twitter-button {
    background: #0f6af4;
    border-radius: 7px;
    margin-top: 20px;
    color: white;
    font-size: 12px;
}

.back-button {
    background: #f40f0f;
    border-radius: 7px;
    margin-top: 20px;
    color: white;
    font-size: 12px;
}

.dx-datagrid-total-footer {
    padding-right: 0px;
    position: sticky;
    bottom: 0px;
}

.details.side-section-main-button {
    background-color: #404fa8;
    /* color: black; */
}

.dx-filemanager .dx-empty-message {
    padding: 20px;
}

.dx-filemanager .dx-filemanager-thumbnails .dx-filemanager-thumbnails-item.dx-item-selected.dx-state-focused {
    color: #3f51b5;
    background: rgb(255 255 255);
    border-radius: 11px;
    border: 1px solid white;
}

.dx-filemanager .dx-filemanager-thumbnails .dx-filemanager-thumbnails-item.dx-item-selected {
    color: #212121;
    background: none;
}

.dx-filemanager .dx-filemanager-thumbnails .dx-filemanager-thumbnails-item.dx-state-focused {
    border: none
}

.templateSelector .searchInput {
    width: 392px !important
}

.side-section.fullscreen {
    box-shadow: 0 0 20px 20px #ffffff !important;
}

.overlay {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: white;
    justify-content: center;
    align-items: center;
    z-index: 100;
    flex-direction: column;
    flex-direction: column;
    backdrop-filter: blur(15px);
}

    .overlay.active {
        display: flex;
    }

    .overlay span {
        font-size: 30px
    }

.dx-datagrid-columns-separator.dx-datagrid-columns-separator-transparent {
    display: none !important;
}

.menu-card {
    transition: 0.3s, 0s width;
    background-color: #f9f9fb96;
    color: #5f5f5f;
    border-radius: 0px 24px 24px 0px;
    width: 120px;
    height: calc(100vh);
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    z-index: 99;
    backdrop-filter: blur(2px);
    transform: scale(1);
    border-radius: 17px;
    box-shadow: 2px 10px 50px 0px #8c8c8c4a;
    height: fit-content;
    bottom: 0px;
    margin: auto;
    left: 20px;
    width: 85px;
    padding: 66px 0px;
}

.active-progressPaymentPage .menu-card {
    background-color: #ff005796;
    color: #ffffff;
    box-shadow: 2px 10px 50px 0px #f7aec76e;
}

.active-poolPage .menu-card {
    background-color: #00a3ec96;
    color: #ffffff;
}

/*.active-uploadingsPage .menu-card {
        background-color: #e91e6396;
    color: #ffffff;
}*/

.dx-scheduler-group-header,
.dx-scheduler-date-table-cell {
    position: relative;
}

.dx-scheduler-date-table-other-month.dx-scheduler-date-table-cell {
    opacity: 1;
    color: rgba(0, 0, 0, 0.3);
}

.dx-scheduler-date-table-cell .dx-template-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    padding-right: 6px;
}

.avatar {
    width: 155px;
    float: left;
    overflow: hidden;
    position: relative;
    height: 125px;
}

.name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

    .name h2 {
        color: #fff;
        text-align: left;
        padding: 0 0 5px 175px;
        margin: 0;
    }

.info {
    width: auto;
    text-align: left;
    height: 100%;
    font-size: 11pt;
    font-weight: normal;
    padding: 25px 20px;
    color: #707070;
}

.dx-color-scheme-contrast .info {
    color: #fff;
}

.day-cell {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.employee-1 {
    background-color: rgba(86, 202, 133, 0.1);
}

.employee-2 {
    background-color: rgba(255, 151, 71, 0.1);
}

.employee-weekend-1 {
    background-color: rgba(86, 202, 133, 0.2);
}

.employee-weekend-2 {
    background-color: rgba(255, 151, 71, 0.2);
}

.training-background-0 {
    background-image: url("images/gym/icon-abs.png");
}

.training-background-1 {
    background-image: url("images/gym/icon-step.png");
}

.training-background-2 {
    background-image: url("images/gym/icon-fitball.png");
}

.dx-theme-material .name h2 {
    font-size: 28px;
}

#gauge-demo {
    text-align: center;
    width: 100%;
}

#c1,
#c2,
#c3,
#c4,
#c5 {
    height: 110px;
}

#chart {
    height: 440px;
}

.scrolledTabspersonal {
    margin-top: 20px;
}

.scrolledTabsStore {
    margin-top: 20px;
}


.tabs {
    margin-top: 60px;
}

.tabs-container-personal {
    width: 100% !important;
}

.tabs-container-store {
    width: 100% !important;
}

#storeChart {
    height: 800px;
    margin-top: 20px;
}

.dx-list-item-content > div {
    padding: 5px;
    font-size: 15px;
}

#list {
    width: 400px !important;
}

.autoReport {
    width: 100%;
    color: black;
    font-family: montserrat;
    border-radius: 10px;
    padding: 1%;
    font-weight: bold;
}

.storeSelection {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
    flex-direction: column;
}

.button-model {
    width: 40%;
    margin: 5px;
}

.label-model {
    width: 98%;
    margin: 5px 5px 20px 5px;
}

.button-model-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#video-thumbnails-container div {
    margin-top: 10px;
}

#video-thumbnails-container img {
    width: 360px;
    height: 180px;
    margin: 10px;
}

#video-thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.trash-thumbnail{
    width: 50%;
}

/* ===== CREATE PAGE — sag drawer + "+ Yeni Video Ekle" FAB ===== */
.create-toolbar {
    display: flex; justify-content: flex-end;
    margin: 8px 0 16px;
}
.create-add-fab {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border: 0;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.create-add-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(99,102,241,0.45);
    filter: brightness(1.05);
}
.create-add-fab i { font-size: 14px; }

/* Drawer container — varsayilan kapali */
.create-drawer {
    position: fixed; inset: 0;
    z-index: 9000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .3s;
}
.create-drawer.open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.create-drawer-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .25s;
}
.create-drawer.open .create-drawer-overlay { opacity: 1; }
.create-drawer-panel {
    position: absolute; top: 0; right: 0;
    width: min(540px, 92vw);
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.create-drawer.open .create-drawer-panel { transform: translateX(0); }
.create-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.create-drawer-head h3 {
    margin: 0; font-size: 16px; font-weight: 600; color: #0f172a;
    display: flex; align-items: center; gap: 10px;
}
.create-drawer-head h3 i { color: #6366f1; }
.create-drawer-close {
    background: transparent; border: 0;
    width: 32px; height: 32px;
    border-radius: 6px; cursor: pointer;
    color: #64748b;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.create-drawer-close:hover { background: #f1f5f9; color: #ef4444; }

/* Stepper */
.create-drawer-stepper {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.create-step {
    display: flex; align-items: center; gap: 8px;
    color: #94a3b8;
    font-size: 12px; font-weight: 500;
    transition: color .2s;
}
.create-step-num {
    width: 26px; height: 26px;
    background: #e2e8f0; color: #64748b;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    transition: background .2s, color .2s;
}
.create-step--active { color: #0f172a; }
.create-step--active .create-step-num {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    box-shadow: 0 2px 8px rgba(99,102,241,0.4);
}
.create-step--done .create-step-num { background: #10b981; color: white; }
.create-step--done .create-step-num::before { content: '✓'; }
.create-step--done .create-step-num span { display: none; }
.create-step-line { flex: 1; height: 2px; background: #e2e8f0; }

/* Body — scrollable */
.create-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 28px;
}

/* Drawer icindeyken add-video-container'i fade yerine duz yap */
.create-drawer-body .add-video-container {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    border-radius: 12px;
}
.create-drawer-body .add-video-container::before { display: none; }
.create-drawer-body #last-container { display: none; }
.create-drawer-body #last-container.active { display: block; }
.create-drawer-body #first-container.hidden { display: none; }

/* Drawer'da user-option-model 2'li grid yerine sutun (drawer dar) */
.create-drawer-body .user-option-model {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 10px 0 !important;
    gap: 4px !important;
}
.create-drawer-body .dx-field-label { font-weight: 500; font-size: 13px !important; }
.create-drawer-body .dx-field-submodel { width: 100% !important; }
.create-drawer-body #last-container.active,
.create-drawer-body #second-channel-container {
    grid-template-columns: none !important;
}

/* Dark theme drawer */
body.dark-theme .create-drawer-panel,
body.theme-dark .create-drawer-panel { background: #0f172a; }
body.dark-theme .create-drawer-head,
body.theme-dark .create-drawer-head { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .create-drawer-head h3,
body.theme-dark .create-drawer-head h3 { color: #f1f5f9; }
body.dark-theme .create-drawer-stepper,
body.theme-dark .create-drawer-stepper { background: #1e293b; border-bottom-color: rgba(255,255,255,0.06); }
body.dark-theme .create-drawer-body .add-video-container,
body.theme-dark .create-drawer-body .add-video-container { border-color: rgba(255,255,255,0.08); }

/* =====================================================================
   CREATE DRAWER — v3 (kokten yeniden)
   -----------------------------------------------------------------
   Tek adim, notr renkler, tek buton "Analiz Et".
   URL yapistir -> anlik preview + SRT drop + dil -> tek CTA.
   JS wiring: eski DX bindings gorunmez (display:none), yeni native input'lar
   mirror ediyor; CTA butonu sirayla DX flow'unu tetikliyor. */

.cd .create-drawer-panel {
    width: min(480px, 95vw);
    background: #ffffff;
    box-shadow: -12px 0 40px rgba(15,23,42,0.16);
}

/* Header */
.cd-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f5;
}
.cd-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.005em;
}
.cd-x {
    background: transparent;
    border: 0;
    width: 32px; height: 32px;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
    font-size: 14px;
}
.cd-x:hover { background: #f1f5f9; color: #0f172a; }

/* Body */
.cd .create-drawer-body {
    padding: 20px 22px 24px;
}

/* Group (label + control) */
.cd-group {
    margin-bottom: 18px;
}
.cd-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

/* URL input */
.cd-url {
    display: flex; align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    transition: border-color .15s, box-shadow .15s;
    height: 44px;
}
.cd-url:focus-within {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}
.cd-url > i {
    color: #ef4444;
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}
.cd-url input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 14px;
    height: 100%;
    padding: 0;
    min-width: 0;
    font-family: inherit;
}
.cd-url input::placeholder { color: #94a3b8; }
.cd-url-clear {
    background: transparent;
    border: 0;
    width: 24px; height: 24px;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    display: none;
    align-items: center; justify-content: center;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.cd-url-clear:hover { background: #f1f5f9; color: #0f172a; }
.cd-url.has-value .cd-url-clear { display: flex; }

/* Preview card */
.cd-preview-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    animation: cdFadeIn .18s ease-out;
}
.cd-preview-card img {
    width: 96px; height: 54px;
    border-radius: 6px;
    object-fit: cover;
    background: #0f172a;
    display: block;
}
.cd-preview-body {
    display: flex; flex-direction: column; gap: 4px;
    min-width: 0;
}
.cd-preview-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cd-preview-id {
    font-size: 11px;
    color: #94a3b8;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
@keyframes cdFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* SRT drop zone */
.cd-srt {
    position: relative;
    display: block;
    background: #fafbfc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.cd-srt:hover { border-color: #94a3b8; background: #f5f7fa; }
.cd-srt.dragover { border-color: #0f172a; background: #f1f5f9; }
.cd-srt.has-file { border-style: solid; border-color: #10b981; background: #f0fdf4; }
.cd-srt-inner {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    align-items: center;
}
.cd-srt-inner > i {
    font-size: 18px;
    color: #64748b;
}
.cd-srt.has-file .cd-srt-inner > i { color: #059669; }
.cd-srt-title {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
}
.cd-srt-sub {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 1px;
}
.cd-srt-status {
    font-size: 12px;
    color: #059669;
    font-weight: 500;
    display: flex; align-items: center; gap: 6px;
}
.cd-srt-clear {
    background: transparent;
    border: 0;
    width: 24px; height: 24px;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.cd-srt-clear:hover { background: #fee2e2; color: #dc2626; }

/* Language select — dxSelectBox goes into #video-language container */
.cd-select-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s;
    overflow: hidden;
}
.cd-select-wrap:focus-within {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}
.cd-select-wrap .dx-selectbox,
.cd-select-wrap .dx-texteditor {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.cd-select-wrap .dx-texteditor-input {
    padding: 12px 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    height: 20px;
}

/* Info note */
.cd-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    border-radius: 4px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}
.cd-note strong { color: #334155; font-weight: 600; }

/* CTA button — TEK buton, notr dark */
.cd-cta {
    width: 100%;
    height: 48px;
    background: #0f172a;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    transition: background .15s, transform .1s;
    font-family: inherit;
    letter-spacing: 0.01em;
}
.cd-cta:hover:not(:disabled) { background: #1e293b; }
.cd-cta:active:not(:disabled) { transform: translateY(1px); }
.cd-cta:disabled { background: #cbd5e1; cursor: not-allowed; color: #64748b; }
.cd-cta i { font-size: 15px; }
.cd-cta.loading { pointer-events: none; }
.cd-cta.loading .cd-cta-label { opacity: 0.55; }
.cd-cta.loading::after {
    content: '';
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: cdSpin .7s linear infinite;
    margin-left: 4px;
}
@keyframes cdSpin { to { transform: rotate(360deg); } }

/* Legacy DX buttons ve containers — tamamen gizli, mount noktasi olarak var */
.cd .cd-legacy-mount {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px; height: 1px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

/* Preview loading */
.cd-preview-card.loading img {
    background: #e2e8f0;
    animation: cdPulse 1.2s ease-in-out infinite;
}
.cd-preview-card.loading .cd-preview-title { color: #94a3b8; }
@keyframes cdPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

/* === DARK theme === */
body.dark-theme .cd .create-drawer-panel,
body.theme-dark .cd .create-drawer-panel {
    background: #0b1220;
    box-shadow: -12px 0 40px rgba(0,0,0,0.4);
}
body.dark-theme .cd-header,
body.theme-dark .cd-header { border-bottom-color: rgba(255,255,255,0.06); }
body.dark-theme .cd-header h3,
body.theme-dark .cd-header h3 { color: #f1f5f9; }
body.dark-theme .cd-x,
body.theme-dark .cd-x { color: #94a3b8; }
body.dark-theme .cd-x:hover,
body.theme-dark .cd-x:hover { background: rgba(255,255,255,0.05); color: #f1f5f9; }
body.dark-theme .cd-label,
body.theme-dark .cd-label { color: #94a3b8; }

body.dark-theme .cd-url,
body.theme-dark .cd-url {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.08);
}
body.dark-theme .cd-url:focus-within,
body.theme-dark .cd-url:focus-within {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148,163,184,0.10);
}
body.dark-theme .cd-url input,
body.theme-dark .cd-url input { color: #f1f5f9; }
body.dark-theme .cd-url input::placeholder,
body.theme-dark .cd-url input::placeholder { color: #64748b; }
body.dark-theme .cd-url-clear:hover,
body.theme-dark .cd-url-clear:hover { background: rgba(255,255,255,0.06); color: #f1f5f9; }

body.dark-theme .cd-preview-card,
body.theme-dark .cd-preview-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
body.dark-theme .cd-preview-title,
body.theme-dark .cd-preview-title { color: #e2e8f0; }
body.dark-theme .cd-preview-id,
body.theme-dark .cd-preview-id { color: #64748b; }

body.dark-theme .cd-srt,
body.theme-dark .cd-srt {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.10);
}
body.dark-theme .cd-srt:hover,
body.theme-dark .cd-srt:hover {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.03);
}
body.dark-theme .cd-srt.has-file,
body.theme-dark .cd-srt.has-file {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.35);
}
body.dark-theme .cd-srt-inner > i,
body.theme-dark .cd-srt-inner > i { color: #94a3b8; }
body.dark-theme .cd-srt.has-file .cd-srt-inner > i,
body.theme-dark .cd-srt.has-file .cd-srt-inner > i { color: #34d399; }
body.dark-theme .cd-srt-title,
body.theme-dark .cd-srt-title { color: #e2e8f0; }
body.dark-theme .cd-srt-sub,
body.theme-dark .cd-srt-sub { color: #64748b; }
body.dark-theme .cd-srt-status,
body.theme-dark .cd-srt-status { color: #34d399; }

body.dark-theme .cd-select-wrap,
body.theme-dark .cd-select-wrap {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.08);
}
body.dark-theme .cd-select-wrap:focus-within,
body.theme-dark .cd-select-wrap:focus-within {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148,163,184,0.10);
}
body.dark-theme .cd-select-wrap .dx-texteditor-input,
body.theme-dark .cd-select-wrap .dx-texteditor-input { color: #f1f5f9 !important; }

body.dark-theme .cd-note,
body.theme-dark .cd-note {
    background: rgba(255,255,255,0.02);
    border-left-color: rgba(255,255,255,0.15);
    color: #94a3b8;
}
body.dark-theme .cd-note strong,
body.theme-dark .cd-note strong { color: #cbd5e1; }

body.dark-theme .cd-cta,
body.theme-dark .cd-cta {
    background: #f1f5f9;
    color: #0f172a;
}
body.dark-theme .cd-cta:hover:not(:disabled),
body.theme-dark .cd-cta:hover:not(:disabled) { background: #ffffff; }
body.dark-theme .cd-cta:disabled,
body.theme-dark .cd-cta:disabled { background: rgba(255,255,255,0.06); color: #64748b; }
body.dark-theme .cd-cta.loading::after,
body.theme-dark .cd-cta.loading::after {
    border-color: rgba(15,23,42,0.20);
    border-top-color: #0f172a;
}

/* Mobil */
@media (max-width: 520px) {
    .cd .create-drawer-panel { width: 100vw; }
    .cd-header { padding: 14px 16px; }
    .cd .create-drawer-body { padding: 16px 16px 24px; }
}

/* ===== CREATE PAGE — full-width column layout =====
   Why: form ile cards yan yana yerine alta-uste; cards full-width grid.
   Eski layout sag 49% kullaniyordu, kart genisligi sabit 300px = 1-2 sutun.
   Yeni: form ust, kartlar alta full-width CSS grid (auto-fill minmax). */
#createPage .data-editor-section,
#createPage .tab-content .data-editor-section {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
}
#createPage .data-editor-label {
    width: 100%;
    padding: 0 24px;
    margin-bottom: 8px;
}
#createPage .data-editor-control {
    width: 100%;
    padding: 0 24px;
}

/* Form alani full-width oldugu icin user-option-model'leri grid'e koy
   ki 4 field yan yana dursun (eski 80% width tek sutunluyken bos kaliyordu). */
#createPage #last-container,
#createPage #second-channel-container,
#createPage #last-channel-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
#createPage #last-container .add-button-container,
#createPage #second-channel-container .add-button-container,
#createPage #last-channel-container .add-button-container {
    width: 100%;
    margin: 8px 0 16px;
}
#createPage #last-container .user-option-model,
#createPage #second-channel-container .user-option-model,
#createPage #last-channel-container .user-option-model {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: center;
    margin: 8px 0;
}
/* Birden fazla user-option-model'i 2 sutunluk grid'e yerlestir */
#createPage #last-container,
#createPage #second-channel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
    align-items: start;
}
#createPage #last-container .add-button-container,
#createPage #second-channel-container .add-button-container,
#createPage #last-container .contract-control.gallery,
#createPage #second-channel-container .contract-control.gallery {
    grid-column: 1 / -1;
}
#createPage #last-container .help-manaliza-container,
#createPage #second-channel-container .help-manaliza-container {
    grid-column: 1 / -1;
}
/* Single-column dar ekran fallback */
@media (max-width: 900px) {
    #createPage #last-container,
    #createPage #second-channel-container {
        grid-template-columns: 1fr;
    }
}
#createPage .dx-field-submodel { width: 100%; }
#createPage .dx-field-label { font-weight: 500; color: #475569; }

/* Cards container — ORIJINAL flex-wrap (kartlarin tasarimi orijinaldeki gibi kalsin).
   Onceden 49%'luk parent'a sigardi 1-2 sutun; simdi data-editor-control %100 oldugu icin
   ayni stil dogal olarak 4-6 kart yan yana siralanir. */
#cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
}

.card {
    border-radius: 14px;
    margin: 14px;
    width: 380px;
    height: 500px;
    padding: 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--theme-bg-card, #fff);
    box-shadow: 0 2px 10px var(--theme-shadow, rgba(167, 163, 163, 0.28));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
}

.card.is-generating {
    opacity: 0.85;
}

.card-thumb-wrap {
    position: relative;
    width: 100%;
    /* Kaynaklar tek bir orana sabit degil - YouTube hqdefault.jpg 4:3,
       maxresdefault 16:9, AI-uretilmis thumbnail'ler baska oranlarda olabiliyor.
       Sabit bir orana kilitlenip cover kullanmak bir kismini hep kirpiyordu.
       Kutuyu buyutup contain kullanmak, oran ne olursa olsun hicbir zaman
       kirpmadan tam gorunmesini garanti ediyor (gerekirse ince bosluk olsun). */
    aspect-ratio: 5 / 4;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--theme-bg-alt, #f0f2f5);
}

    .card-thumb-wrap .thumbnail {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.card-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background-color: rgba(245, 158, 11, 0.95);
    color: #fff;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Kanal karti ustundeki "bildirim ayarlari" (zil) butonu -- canli rozetiyle
   cakismasin diye sol ustte, varsayilan yari-saydam, hover'da tam gorunur. */
.channel-card-notify-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    display: grid;
    place-items: center;
    background: rgba(17, 24, 39, 0.55);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s, background 0.15s, transform 0.15s;
}
.card-thumb-wrap:hover .channel-card-notify-btn { opacity: 1; }
.channel-card-notify-btn:hover { background: rgba(124, 108, 240, 0.9); transform: scale(1.08); }

.card-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 14px;
}

.card-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--theme-text, #1a1a2e);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.card-channel {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--theme-text-muted, #64748b);
}

    .card-channel i {
        font-size: 12px;
    }

.card-meta {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--theme-border-soft, rgba(15, 23, 42, 0.08));
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--theme-text-muted, #64748b);
}

    .card-meta-row i {
        font-size: 12px;
    }

.card-meta-pending {
    color: #b45309;
}

body.dark-mode .card-meta-pending {
    color: #fbbf24;
}

/* Kanal Takibi 2.0 - kart listesi (video kartlarindan sonra ozet: .card temelini kullanir) */
.channel-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 16px;
}

.channel-cards-empty {
    color: var(--theme-text-muted, #64748b);
    font-size: 13.5px;
    padding: 24px 4px;
}

.card-live-badge {
    background-color: rgba(220, 38, 38, 0.95) !important;
    animation: channelLivePulse 1.8s ease-in-out infinite;
}

@keyframes channelLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.channel-advanced-details {
    margin-top: 22px;
}

    .channel-advanced-details summary {
        cursor: pointer;
        font-size: 12.5px;
        font-weight: 600;
        color: var(--theme-text-muted, #64748b);
        padding: 6px 0;
    }

    .channel-advanced-details[open] summary {
        margin-bottom: 8px;
    }

/* Benim Videolarım / Ekip Videoları sekme geçişi (cards-container üstü) */
.scope-tabs {
    display: none;
    gap: 10px;
    margin: 20px;
}

.scope-tab {
    border: none;
    background: #f0f2f5;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

    .scope-tab:hover {
        background: #e4e6eb;
    }

    .scope-tab.active {
        background: #333;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

/* Ekip Videoları kartında "Ekleyen: ..." rozeti */
.card-owner-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    background: #fff8e1;
    color: #8d6e03;
    border: 1px solid #ffca28;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

    .card:hover {
        box-shadow: 0 10px 24px var(--theme-shadow, rgba(167, 163, 163, 0.4));
        transform: translateY(-4px);
    }

.thumbnail {
    width: 100%;
    height: auto;
    box-shadow: inset 1px 1px 20px 0px rgb(0 0 0 / 33%);
    border-radius: 5px;
}

.card-thumb-wrap .thumbnail {
    box-shadow: none;
    border-radius: 0;
}


.animation-createpost-container {
    opacity: 0;
    transition: opacity 0.3s ease; /* Animasyon için geçiş efekti */
}

    .animation-createpost-container.active {
        opacity: 1;
    }

.animation-publishpost-container {
    opacity: 0;
    transition: opacity 0.3s ease; /* Animasyon için geçiş efekti */
}

    .animation-publishpost-container.active {
        opacity: 1;
    }


.animation-addvideo-container {
    opacity: 0;
    transition: opacity 0.3s ease; /* Animasyon için geçiş efekti */
}

    .animation-addvideo-container.active {
        opacity: 1;
    }

/* Sayfa içeriğini bulanıklaştıracak ekstra CSS */
#createPage.blur {
    filter: blur(8px);
}

.mainPageAnimation {
    border: none;
    height: 100vh;
    position: absolute;
    width: 100vw;
    z-index: 9;
}

.control-signup {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.btn-signup {
    border-radius: 10px;
    margin: 20px;
    padding: 10px;
    width: 300px;
    display: inline-block;
    box-shadow: 1px 1px 7px 2px rgb(167 163 163 / 28%);
    transition: transform 0.8s, box-shadow 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    height: 300px;
    text-align: center; /* Ortaya hizalama için */
}

    .btn-signup:hover {
        box-shadow: none;
        transform: scale(1.1);
    }

.platform-logo {
    width: 100px; /* Logonun genişliği */
    height: auto; /* Orantılı yükseklik */
    margin-top: 50px; /* Logonun yukarıdan boşluk bırakması */
}

.platform-name {
    font-size: 24px; /* Yazı boyutu */
    margin-top: 20px; /* Üstten boşluk bırakma */
    color: #333; /* Yazı rengi */
}

.contract-select-button{
    margin: 10px;
}

.vertical-line {
    width: 1px;
    height: 80%;
    background-color: black;
    border: 1px solid #DEE4EA;
    display: inline-block;
    margin: 10px;
}

.contract-credit {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center; /* İçeriği yatay olarak ortala */
    margin: 10px;
    color: #b17e00;
    font-weight: bold;
    background-color: #ffedcc;
    padding: 15px;
    border-radius: 15px;
    height: 100%;
    border: 1px solid #d6a12a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, display 1s;
    position: relative; /* Tooltip için gerekli */
}

    .contract-credit:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.add-video-container {
    position: relative;
    border: 1px solid #37363636;
    border-top-color: transparent;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

    .add-video-container::before {
        content: "Video Preferences";
        position: absolute;
        top: -10px;
        left: 10px;
        background: transparent;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .add-video-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px; /* "Video" yazısının genişliği kadar ayarla */
        height: 1px; /* Border kalınlığı */
        background: transparent;
        border-top: 1px solid transparent;
        border-left: 1px solid transparent;
    }


.add-button-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 10px;
    width: 100%;
    justify-content: center;
}

/* 4 butonu 2x2 grid'e yerlestir (trash + add-link / upload-srt + next-video).
   2 ve 3 butonlu container'lar (back+create vs.) bu kuraldan etkilenmiyor. */
#first-container .add-button-container .button-model {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

#get-post-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(28 156 0 / 25%);
}

    #get-post-button:hover {
        background-color: rgb(28, 156, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(28, 156, 0, 0.4);
    }

#next-video-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 20 156 / 25%);
}

    #next-video-button:hover {
        background-color: rgb(0, 20, 156);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 20, 156, 0.4);
    }

#back-video-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 20 156 / 25%);
}

    #back-video-button:hover {
        background-color: rgb(0, 20, 156);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 20, 156, 0.4);
    }

#add-link-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 139 255 / 25%);
}
    #add-link-button:hover {
        background-color: rgb(0, 139, 255);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 139, 255, 0.4);
    }


#trashButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(204 0 0 / 25%);
}

    #trashButton:hover {
        background-color: rgb(204, 0, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(204, 0, 0, 0.4);
    }




#add-link-textbox {
    height: 40px;
    padding: 3px;
    border: 1px solid #37363691;
    margin-top: 15px;
}

.dx-gallery-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 1px 1px 12px rgb(125 125 125 / 23%);
    transition: height 0.5s ease-in-out;
    z-index: 1;
}

#galleryYoutubeChannels {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 1px 1px 12px rgb(125 125 125 / 23%);
    transition: height 0.5s ease-in-out;
    z-index: 1;
}

    #galleryYoutubeChannels:hover {
        height: 450px !important;
        transition: height 0.5s ease-in-out;
    }

#last-container {
    display: none;
    transition: transform 0.5s ease-in-out;
}

#first-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#last-container.active {
    display: flex;
}

#first-container.hidden {
    display: none;
}

.user-option-model {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: space-between;
    margin: 10px;
}

.dx-field-submodel {
    width: 40%;
}

#video-hashtag {
    width: 10%;
    margin-inline: 20%;
}

#video-link {
    width: 10%;
    margin-inline: 20%;
}

.share-video-container {
    position: relative;
    border: 1px solid #37363636;
    border-top-color: transparent;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

    .share-video-container::before {
        content: "Share Preferences";
        position: absolute;
        top: -10px;
        left: 10px;
        background: transparent;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .share-video-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px; /* "Video" yazısının genişliği kadar ayarla */
        height: 1px; /* Border kalınlığı */
        background: transparent;
        border-top: 1px solid transparent;
        border-left: 1px solid transparent;
    }


.video-time-sub {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.share-video-time {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 10px;
}

#post-shareall-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(133 0 255 / 25%);
}

    #post-shareall-button:hover {
        background-color: rgb(133, 0, 255);
        color: white;
        box-shadow: 0px 4px 12px rgba(133, 0, 255, 0.4);
    }

#post-shareselected-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(255 153 0 / 25%);
}
    #post-shareselected-button:hover {
        background-color: rgb(255, 153, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(255, 153, 0, 0.4);
    }

.personal-information-container {
    position: relative;
    border: 1px solid #37363636;
    border-top-color: transparent;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

    .personal-information-container::before {
        content: "Personal Information";
        position: absolute;
        top: -10px;
        left: 10px;
        background: transparent;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .personal-information-container ::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px; /* "Video" yazısının genişliği kadar ayarla */
        height: 1px; /* Border kalınlığı */
        background: transparent;
        border-top: 1px solid transparent;
        border-left: 1px solid transparent;
    }

#email-editor, #password-editor, #passwordconfirm-editor {
    width: 100%;
    border: 1px solid #e4e4e4;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
}

#save-personal-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(133 0 255 / 25%);
    margin: 5px;
}

    #save-personal-button:hover {
        background-color: rgb(133, 0, 255);
        color: white;
        box-shadow: 0px 4px 12px rgba(133, 0, 255, 0.4);
    }


.balance-section {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .balance-section h1 {
        margin: 0;
        font-size: 1.5em;
    }

    .balance-section .balance {
        font-size: 2em;
        margin: 10px 0;
    }

    .balance-section .auto-recharge {
        display: flex;
        align-items: center;
    }

        .balance-section .auto-recharge input {
            margin-right: 10px;
        }

.buttons {
    display: flex;
    gap: 10px;
}

    .buttons button {
        background-color: #4285f4;
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
    }

        .buttons button.cancel {
            background-color: #ea4335;
        }

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .menu .item {
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        flex: 1;
        min-width: 150px;
    }

#paymentMethodButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgba(66, 133, 244, 0.25);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #paymentMethodButton:hover {
        background-color: #357ae8;
        color: white;
        box-shadow: 0px 4px 12px rgba(66, 133, 244, 0.4);
    }

#billingHistoryButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgba(52, 168, 83, 0.25);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #billingHistoryButton:hover {
        background-color: #2c8e4a;
        color: white;
        box-shadow: 0px 4px 12px rgba(52, 168, 83, 0.4);
    }

#preferencesButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgba(251, 188, 5, 0.25);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #preferencesButton:hover {
        background-color: #e9a100;
        color: white;
        box-shadow: 0px 4px 12px rgba(251, 188, 5, 0.4);
    }

#socialAccountsButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgba(255, 69, 0, 0.25);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #socialAccountsButton:hover {
        background-color: #ff4500;
        color: white;
        box-shadow: 0px 4px 12px rgba(255, 69, 0, 0.4);
    }

#addCreditBalanceButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgba(66, 133, 244, 0.25);
    margin: 5px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

    #addCreditBalanceButton:hover {
        background-color: #357ae8;
        color: white;
        box-shadow: 0px 4px 12px rgba(66, 133, 244, 0.4);
    }

/* Sagdan+animasyonlu -- "tum popuplar sagdan acilsin" (kullanici talebi,
   2026-08-24). Onceden ortada, animasyonsuz, %10 ust bosluklu bir kutuydu;
   diger .atl-modal--drawer panelleriyle tutarli hale getirildi. */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow: hidden;
    justify-content: flex-end;
    align-items: stretch;
}

.popup-content {
    margin: 0;
    padding: 28px 26px;
    border: none;
    width: 420px;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    color: black;
    background-color: white;
    border-radius: 0;
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .35);
    animation: atl-drawer-in .28s cubic-bezier(.16,1,.3,1);
}
@media (max-width: 640px) {
    .popup-content { width: 100%; }
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group small {
        display: block;
        margin-top: 5px;
        color: #bbb;
    }

#amount-editor {
    width: 100%;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.cancel-button, .continue-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-button {
    background-color: #6c757d;
    color: white;
}

.continue-button {
    background-color: #28a745;
    color: white;
}

.cancel-button:hover {
    background-color: #5a6268;
}

.continue-button:hover {
    background-color: #218838;
}

#amount-balance-editor {
    border: 1px solid #DEE4EA;
    padding: 5px;
    margin-block: 10px;
}

#promotion-balance-editor {
    border: 1px solid #DEE4EA;
    padding: 5px;
    margin-block: 10px;
}

#cancelBalanceButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(244 66 66 / 25%);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #cancelBalanceButton:hover {
        background-color: rgb(244 66 66);
        color: white;
        box-shadow: 0px 4px 12px rgba(244, 66, 66, 0.4);
    }

#continueBalanceButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(35 107 3 / 25%);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    #continueBalanceButton:hover {
        background-color: rgb(35 107 3);
        color: white;
        box-shadow: 0px 4px 12px rgba(35, 107, 3, 0.4);
    }

.logo-preview {
    width: 50px;
    height: 50px;
    display: flex;
    margin: 40px;
}


.help-manaliza-container {
    position: relative;
    border: 1px solid #37363636;
    border-top-color: transparent;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

    .help-manaliza-container::before {
        content: "Help Me";
        position: absolute;
        top: -10px;
        left: 10px;
        background: transparent;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .help-manaliza-container ::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px; /* "Video" yazısının genişliği kadar ayarla */
        height: 1px; /* Border kalınlığı */
        background: transparent;
        border-top: 1px solid transparent;
        border-left: 1px solid transparent;
    }


.help-manaliza-text {
    height: 90px;
    width: 100%;
    border: 1px solid #3736368f;
    padding: 5px;
}

.help-manaliza-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(39 216 0 / 25%);
    margin: 10px;
}

    .help-manaliza-button:hover {
        background-color: rgb(39, 216, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(39, 216, 0, 0.4);
    }

.add-channel-container {
    position: relative;
    border: 1px solid #37363636;
    border-top-color: transparent;
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 11px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

    .add-channel-container::before {
        content: "Channel Preferences";
        position: absolute;
        top: -10px;
        left: 10px;
        background: transparent;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .add-channel-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px; /* "Video" yazısının genişliği kadar ayarla */
        height: 1px; /* Border kalınlığı */
        background: transparent;
        border-top: 1px solid transparent;
        border-left: 1px solid transparent;
    }

#trashChannelButton {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(204 0 0 / 25%);
}

    #trashChannelButton:hover {
        background-color: rgb(204, 0, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(204, 0, 0, 0.4);
    }

#get-channel-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(28 156 0 / 25%);
}

    #get-channel-button:hover {
        background-color: rgb(28, 156, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(28, 156, 0, 0.4);
    }

#complete-share-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(28 156 0 / 25%);
}

    #complete-share-button:hover {
        background-color: rgb(28, 156, 0);
        color: white;
        box-shadow: 0px 4px 12px rgba(28, 156, 0, 0.4);
    }

#next-channel-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 20 156 / 25%);
}

    #next-channel-button:hover {
        background-color: rgb(0, 20, 156);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 20, 156, 0.4);
    }

#back-channel-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 20 156 / 25%);
}

    #back-channel-button:hover {
        background-color: rgb(0, 20, 156);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 20, 156, 0.4);
    }

#back-channel-detail-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 20 156 / 25%);
}

    #back-channel-detail-button:hover {
        background-color: rgb(0, 20, 156);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 20, 156, 0.4);
    }

#auto-share-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(156 0 145 / 25%);
}

    #auto-share-button:hover {
        background-color: rgb(156, 0, 145);
        color: white;
        box-shadow: 0px 4px 12px rgba(156, 0, 145, 0.4);
    }


#add-channel-button {
    background-color: white;
    color: black;
    box-shadow: 1px 1px 8px rgb(0 139 255 / 25%);
}

    #add-channel-button:hover {
        background-color: rgb(0, 139, 255);
        color: white;
        box-shadow: 0px 4px 12px rgba(0, 139, 255, 0.4);
    }

#add-channel-textbox {
    height: 40px;
    padding: 3px;
    border: 1px solid #37363691;
    margin-top: 15px;
}

#second-channel-container {
    display: none;
    transition: transform 0.5s ease-in-out;
}
    #second-channel-container.active {
        display: flex;
    }

#last-channel-container {
    display: none;
    transition: transform 0.5s ease-in-out;
}

    #last-channel-container.active {
        display: flex;
    }

#first-channel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
    #first-channel-container.hidden {
        display: none;
    }





#channel-hashtag {
    width: 10%;
    margin-inline: 20%;
}

#channel-link {
    width: 10%;
    margin-inline: 20%;
}

#channel-shorts {
    width: 10%;
    margin-inline: 20%;
}

#channel-playlist {
    width: 200px;
}

/* Popup Genel Stil */
.ai-analysis-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f9f9f9;
}

/* Tab Menüsü (Üst Kısım) */
.platform-tabs {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #fff;
    overflow-x: auto;
    white-space: nowrap;
    /* Scrollbar gizleme */
    scrollbar-width: none;
}

    .platform-tabs::-webkit-scrollbar {
        display: none;
    }

.tab-btn {
    border: none;
    background: #f0f2f5;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .tab-btn:hover {
        background: #e4e6eb;
    }

    .tab-btn.active {
        background: #333;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

        /* Platform Özel Renkleri (Aktif olduğunda) */
        .tab-btn.active[data-platform="chatgpt"] {
            background: #10a37f;
        }
        /* ChatGPT Yeşili */
        .tab-btn.active[data-platform="gemini"] {
            background: linear-gradient(90deg, #4E81FF, #C350FF);
        }
        /* Gemini Gradient */
        .tab-btn.active[data-platform="deepseek"] {
            background: #1d4ed8;
        }
        /* Mavi ton */
        .tab-btn.active[data-platform="grok"] {
            background: #000;
        }
/* Siyah */

/* İçerik Alanı */
.analysis-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.content-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.description-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    white-space: pre-line; /* Satır boşluklarını korur */
}

/* Etiketler (Tags) */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0e7ff;
}

/* Ad Points (Reklam Noktaları) */
.ad-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
}

.ad-point {
    background: #fff0f0;
    color: #c0392b;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid #fadbd8;
}

/* Yükleniyor ve Hata Durumları */
.loading-state, .error-state {
    text-align: center;
    padding: 50px;
    color: #666;
}

/* --- Reklam Zamanları İçin Yeni Stil --- */

/* Kapsayıcı: Esnek kutu yapısı */
.ad-points-container {
    display: flex;
    flex-wrap: wrap; /* Sığmazsa alt satıra geç */
    gap: 10px; /* Öğeler arası boşluk */
    margin-top: 10px;
}

/* Tekil Zaman Çipi */
.ad-point-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* İkon ve yazı arası boşluk */
    background-color: #fff8e1; /* Çok açık sarı/turuncu zemin */
    color: #f57f17; /* Koyu turuncu yazı */
    border: 1px solid #ffe082; /* Kenarlık */
    padding: 6px 14px;
    border-radius: 20px; /* Tam yuvarlak kenarlar (Hap görünümü) */
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

    .ad-point-chip:hover {
        transform: translateY(-2px); /* Üzerine gelince hafif yukarı zıplar */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        background-color: #ffecb3;
    }

    .ad-point-chip i {
        font-size: 14px; /* Saat ikonunun boyutu */
    }

/* --- Ortak/Önerilen Reklam Noktaları --- */
.consensus-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px; /* Tabların üstünde boşluk */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 5px solid #ffb300; /* Sol tarafa altın çizgi */
}

.consensus-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.golden-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #8d6e03; /* Koyu Altın */
    border: 1px solid #ffca28;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: default;
    box-shadow: 0 2px 5px rgba(255, 193, 7, 0.2);
    transition: transform 0.2s;
}

    .golden-chip:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    }

    .golden-chip .badge {
        background: #fff;
        color: #8d6e03;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 50%;
        margin-left: 5px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

/* --- Çiplerin İçindeki Minik Kopyalama Butonu --- */

/* Çiplerin kendisine relative veriyoruz ki butonu içine sabitleyebilelim */
.golden-chip, .ad-point-chip {
    position: relative;
    padding-right: 28px !important; /* Buton için sağda yer aç */
    cursor: pointer; /* Tıklanabilir hissi ver */
    transition: all 0.2s ease;
}

/* Minik Buton Stili */
.chip-copy-btn {
    position: absolute;
    top: -6px; /* Hafif dışarı taşsın, modern durur */
    right: -6px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex; /* İkonu ortalamak için */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0; /* Varsayılan olarak gizli */
    transform: scale(0.5); /* Küçülerek gelme efekti için */
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #555;
    z-index: 100;
}

    .chip-copy-btn i {
        font-size: 12px; /* İkon boyutu */
    }

/* Hover Durumları */
.golden-chip:hover .chip-copy-btn,
.ad-point-chip:hover .chip-copy-btn {
    opacity: 1;
    transform: scale(1); /* Orijinal boyuta dön */
}

.chip-copy-btn:hover {
    background-color: #337ab7; /* Mavi (veya senin tema rengin) */
    color: #fff;
    border-color: #337ab7;
}

/* --- Consensus Dashboard (Üst Panel) --- */
.consensus-dashboard {
    background: #fffbf2; /* Çok açık sarı/krem zemin */
    border-bottom: 2px solid #f0ad4e;
    padding: 15px;
    margin-bottom: 0;
}

.consensus-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

    .consensus-row:last-child {
        margin-bottom: 0;
    }

.c-label {
    font-weight: bold;
    color: #8a6d3b;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Golden Chip (Süre + Stack Resimler) --- */
.golden-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f0ad4e;
    border-radius: 20px;
    padding: 4px 6px 4px 12px;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

    .golden-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.gc-time {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
    font-family: monospace;
    font-size: 14px;
}

/* --- Stacked Images (Üst üste binen logolar) --- */
.platform-stack {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.stack-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff; /* Logolar arası beyaz çizgi */
    margin-left: -8px; /* Üst üste binme efekti */
    background: #fff;
    object-fit: contain;
}

    .stack-img:first-child {
        margin-left: 0;
    }

/* --- Copy Button --- */
.chip-copy-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

    .chip-copy-btn:hover {
        background: #337ab7;
        color: white;
    }

/* --- Tag Stilleri (Isı haritası gibi) --- */
.c-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.c-tag {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

    .c-tag.hot {
        background: #d9534f;
        color: white;
    }
    /* Çok popüler */
    .c-tag.warm {
        background: #f0ad4e;
        color: white;
    }
    /* Orta */
    .c-tag.common {
        background: #e0e0e0;
        color: #555;
    }
/* Normal */

/* --- Tab İkonları --- */
.tab-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* --- Consensus Genel Yapı --- */
.consensus-block {
    background: rgba(255,255,255,0.6);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Başlık Satırı (Sola başlık, sağa buton) */
.consensus-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.c-label {
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* --- Başlık Yanındaki "Tümünü Kopyala" Butonu --- */
.header-copy-btn {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

    .header-copy-btn:hover {
        background: #f5f5f5;
        border-color: #bbb;
        color: #000;
    }

    .header-copy-btn i {
        font-size: 14px;
    }

/* --- Golden Chip (Hem Reklam Hem Tag İçin Ortak) --- */
.golden-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f0ad4e; /* Sarı çerçeve */
    border-radius: 20px; /* Yuvarlak kenar */
    padding: 4px 6px 4px 12px;
    margin-right: 8px;
    margin-bottom: 8px; /* Alt satıra geçerse boşluk */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
    color: #333;
}

    .golden-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-color: #ec971f;
    }

    /* Tag için özel ufak ayar (Rengi biraz farklı olabilir istersen) */
    .golden-chip.tag-chip {
        border-color: #5bc0de; /* Mavi çerçeve (Tags için ayırt edici olsun diye) */
        background: #f9fdfd;
    }

        .golden-chip.tag-chip:hover {
            border-color: #31b0d5;
        }

/* Platform Stack Resimleri */
.platform-stack {
    display: flex;
    align-items: center;
    margin-left: 8px; /* Text ile resim arası boşluk */
    margin-right: 8px; /* Resim ile copy butonu arası boşluk */
}

.stack-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: #fff;
    object-fit: contain;
}

    .stack-img:first-child {
        margin-left: 0;
    }

/* Çip İçindeki Kopyala Butonu */
.chip-copy-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

    .chip-copy-btn:hover {
        background: #337ab7; /* Mavi hover */
        color: white;
    }

/* Container */
.ad-points-container {
    display: flex;
    flex-wrap: wrap; /* Sığmazsa alt satıra geçsin */
    align-items: center;
}

/* --- 1. POPUP SCROLL DÜZENİ (v2 — full-body scroll + sticky tabs) ---
   Eskiden sadece .scrollable-content scroll ediyordu; header buyudugunde tab
   icerigi minik kaliyordu. Yeni davranis: TUM popup dikey scroll (thumbnail,
   consensus, tab bar, tab icerigi). Tab bar sticky top:0 — kullanici asagi
   scroll ederken tabs gorunur kalir. */
#aiPopupContainer {
    display: block; /* was flex — sticky icin gerekli */
    height: 100%;
    max-height: 100%;
    overflow-y: auto; /* scroll ancestoru: sticky bunu okuyor */
    overflow-x: hidden;
    background: #f9f9f9;
    scroll-behavior: smooth;
}

/* Header artik shrink degil, dokuman akisinda normal blok */
.popup-fixed-header {
    background: #fff;
}

/* Tab bar: sticky top — asagi kaydirinca tepede kalir */
.popup-fixed-header .platform-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px 15px;
    margin: 0;
}

/* Icerik alani artik overflow kendisi degil, container scroll ediyor */
.scrollable-content {
    padding: 15px;
    background: #f9f9f9;
    overflow: visible;
    height: auto;
    flex: none;
}

/* Popup wrapper (dxPopup) — kendi padding'i kaldir, ic scroll bize kalsin */
.ai-analysis-popup-wrap .dx-popup-content { padding: 0 !important; overflow: hidden !important; }
.ai-analysis-popup-wrap .dx-overlay-content { max-width: 100vw; }

/* ===== AI Thumbnail Gallery (3 model yanyana) ===== */
.ai-thumbnail-section {
    padding: 16px 18px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    border-bottom: 1px solid #eef1f5;
}
.ai-thumbnail-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
    font-weight: 600; font-size: 14px;
    color: #0f172a;
}
.ai-thumbnail-header i { color: #6366f1; font-size: 18px; }
.ai-thumbnail-header .ai-thumbnail-count {
    margin-left: auto;
    font-size: 11px; font-weight: 500;
    color: #64748b;
    background: #eef1f5;
    padding: 3px 10px;
    border-radius: 999px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.thumb-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .18s, border-color .18s, transform .12s;
}
.thumb-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15,23,42,0.10);
    transform: translateY(-2px);
}
.thumb-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    cursor: pointer;
    overflow: hidden;
}
.thumb-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.thumb-card:hover .thumb-card-img img { transform: scale(1.03); }
.thumb-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity .18s;
    display: flex; align-items: flex-end; justify-content: center;
    gap: 6px; padding: 10px;
}
.thumb-card:hover .thumb-card-overlay { opacity: 1; }
.thumb-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: #0f172a;
    border: 0;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background .15s, transform .1s;
    font-size: 14px;
}
.thumb-btn:hover { background: #fff; transform: scale(1.05); }
.thumb-btn i { color: inherit !important; font-size: 16px; }
.thumb-card-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px;
    font-size: 12px;
}
.thumb-card-label {
    font-weight: 600; color: #334155;
}
.thumb-card-ms {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    color: #94a3b8; font-size: 11px;
}

/* Mobil: kartlar tek sutun */
@media (max-width: 640px) {
    .thumbnail-gallery { grid-template-columns: 1fr; gap: 10px; }
    .ai-thumbnail-section { padding: 12px; }
}

/* Mobil ekran: header padding'i kucult, thumbnail max-width azalt */
@media (max-width: 768px) {
    .popup-fixed-header .platform-tabs { padding: 8px 10px; gap: 6px; }
    .scrollable-content { padding: 10px; }
    .ai-thumbnail-section img { max-width: 100% !important; }
    .consensus-section, .consensus-body { padding: 8px !important; }
    .tab-btn { padding: 8px 14px !important; font-size: 13px !important; }
}

/* --- 2. "TÜMÜNÜ KOPYALA" BUTONU (Estetik Revize) --- */
.header-copy-btn {
    background: transparent;
    border: none; /* Çerçeveyi kaldırdık */
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #337ab7; /* Link rengi gibi şık bir mavi */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
}

    .header-copy-btn:hover {
        background: #eef5fa; /* Üzerine gelince çok hafif mavi zemin */
        color: #23527c;
    }

    .header-copy-btn i {
        font-size: 16px;
    }

/* --- 3. TAG CHIP GÖRÜNÜMÜ (Platformsuz) --- */
.golden-chip.tag-chip {
    padding: 5px 10px 5px 12px;
    border: 1px solid #e1e1e1; /* Daha hafif border */
    background: #fff;
    color: #333;
    /* Platform logoları gidince biraz daha kompakt olsun */
    height: 32px;
    gap: 0;
}

    .golden-chip.tag-chip:hover {
        border-color: #337ab7;
        background: #fdfdfd;
    }

/* Tag içindeki mini kopyala butonu */
.chip-copy-btn.mini {
    width: 20px;
    height: 20px;
    margin-left: 8px; /* Text ile buton arası */
    background: transparent;
    color: #999;
}

    .chip-copy-btn.mini:hover {
        background: #eee;
        color: #333;
    }

    .chip-copy-btn.mini i {
        font-size: 14px;
    }


/* --- DİĞER MEVCUT STİLLER (Korunacak) --- */
.consensus-section {
    padding: 15px;
    padding-bottom: 5px;
    background: #fffbf2;
}
/*
.platform-tabs {
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}*/

/* --- Consensus Header Düzeni (Toggle İçin) --- */
.consensus-header {
    display: flex;
    justify-content: space-between; /* İkon sola, buton sağa */
    align-items: center;
    padding-bottom: 5px; /* Alt çizgiye mesafe */
    border-bottom: 1px solid #f0e0c0; /* Hafif ayırıcı */
    margin-bottom: 10px;
}

/* Sol taraf (İkon + Yazı) */
.ch-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Sağ taraf (Toggle Buton) */
.consensus-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .consensus-toggle-btn:hover {
        background-color: rgba(0,0,0,0.05);
        color: #333;
    }

    .consensus-toggle-btn i {
        font-size: 20px;
    }

/* --- Consensus Body --- */
/* İçeriği sarmalayan div, slideToggle için gerekli */
.consensus-body {
    /* Varsayılan olarak açık */
    display: block;
}

/* --- Kopyalama Başarılı Animasyonu --- */
@keyframes copy-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); /* Halkanın genişleyip kaybolması */
        transform: scale(1);
    }
}

.copy-success {
    animation: copy-pulse 0.6s ease-out; /* 0.6 saniyelik efekt */
    color: #28a745 !important; /* İkon ve yazı rengi yeşil olsun */
    border-color: #28a745 !important; /* Kenarlık yeşil olsun */
    background-color: #f0fff4 !important; /* Arka plan çok açık yeşil */
}

/* DevExtreme Toast Özelleştirmesi (İsteğe Bağlı) */
.dx-toast-success .dx-toast-content {
    background-color: #28a745 !important;
    font-weight: 600;
}
/* Mobil Uyumluluk (Sadece küçük ekranlarda alt alta geçer) */
/* !important: pro.html'deki loginPage split-layout inline stille (flex-direction:row,
   height:100%, min-height:650px) geldiği için, bu inline'ları yenmek gerekiyor. */
@media (max-width: 992px) {
    .tab-bodies-section {
        min-height: auto !important;
    }

    .split-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    .brand-panel {
        flex: none !important;
        padding: 40px !important;
        min-height: 220px !important;
    }

    .form-panel {
        flex: none !important;
        padding: 40px 20px !important;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .brand-panel {
        padding: 28px 24px !important;
        min-height: 180px !important;
    }

    .form-panel {
        padding: 24px 20px !important;
    }

    /* Form iç boşlukları (form-header/input-group/form-links) pro.html'de inline
       margin ile geliyor — dar telefon yüksekliğinde (Safari adres çubuğuyla ~660px)
       kart sabit topbar+dock arasına sığsın diye sıkılaştırıyoruz. */
    #loginPage .form-header,
    #loginPage .signup-section .form-header {
        margin-bottom: 16px !important;
    }
    #loginPage .input-group {
        margin-bottom: 12px !important;
    }
    #loginPage .form-links {
        margin-top: 14px !important;
    }
}

/* Telefon boyu ekranlarda hero paneli (marka anlatımı) formun altına 400px+ yer
   kaplayıp giriş formunu sabit dock'un arkasına itiyordu — telefon genişliklerinde
   tamamen gizleyip doğrudan formu göster. Marka zaten atl-topbar'da var. */
@media (max-width: 560px) {
    #loginPage.atelier-page .brand-panel {
        display: none !important;
    }
}



@media only screen and (max-width: 800px) {
    .page-row.flex-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .dashboard-item {
        border-radius: 20px;
        width: 120px;
        color: #fff;
        height: 94px;
        background-color: var(--lightGrey);
        margin: 10px 10px 0 0;
        position: relative;
        overflow: hidden;
        max-height: 118px;
    }

    .buttons-card {
        display: none
    }

    .homepage-card {
        width: 100%
    }

    .data-editor-label {
        display: flex;
        flex-direction: column;
        padding: 0px 0px 0px 0px;
        width: 100%;
    }
}

/* Tab butonunun içindeki ikonları düzenler */
.tab-icon {
    width: 20px; /* Genişlik */
    height: 20px; /* Yükseklik */
    object-fit: contain; /* Resmi sündürmeden kutuya sığdır */
    vertical-align: middle; /* Yazı ile hizala */
    margin-right: 6px; /* Yazı ile arasına boşluk koy */
}

/* --- Avatar Yığınlama (Stacked Images) --- */
.platform-stack {
    display: flex;
    align-items: center;
    margin-left: 8px; /* Zaman metni ile resimler arası boşluk */
    padding-left: 5px;
}

.stack-img {
    width: 24px; /* Resim boyutu (Küçük tutuyoruz) */
    height: 24px;
    border-radius: 50%; /* Tam yuvarlak */
    object-fit: cover;
    border: 2px solid #fff; /* Resimlerin birbirine değdiği yeri ayırmak için beyaz kenarlık */
    margin-left: -10px; /* !ÖNEMLİ: Üst üste binmeyi sağlayan kod */
    background-color: #fff;
    transition: transform 0.2s, z-index 0.2s;
    position: relative;
}

    /* İlk resimde negatif boşluk olmasın */
    .stack-img:first-child {
        margin-left: 0;
        z-index: 1;
    }

    .stack-img:nth-child(2) {
        z-index: 2;
    }

    .stack-img:nth-child(3) {
        z-index: 3;
    }

    .stack-img:nth-child(4) {
        z-index: 4;
    }

    /* Üzerine gelince resmi öne çıkar (Opsiyonel animasyon) */
    .stack-img:hover {
        transform: translateY(-3px) scale(1.1);
        z-index: 10 !important;
        border-color: #ffb300;
    }

/* --- Kopyalama Butonları ve Başlık Düzeni --- */
.section-header {
    display: flex;
    justify-content: space-between; /* Başlığı sola, butonu sağa iter */
    align-items: center;
    margin-top: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0; /* Hafif bir ayraç çizgisi */
    padding-bottom: 5px;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 700;
    margin: 0; /* Margin sıfırlandı çünkü header içinde */
}

.copy-btn {
    background: transparent;
    border: none;
    color: #ccc; /* Varsayılan olarak silik gri */
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

    /* Üzerine gelince belirginleşsin */
    .copy-btn:hover {
        color: #333;
        background-color: #f5f5f5;
    }

    .copy-btn span {
        font-size: 11px;
        font-weight: 600;
        display: none; /* Mobilde yer kaplamasın diye yazıyı gizleyebiliriz, hoverda açarız */
    }

    .copy-btn:hover span {
        display: inline-block; /* Mouse gelince "Kopyala" yazısı çıksın */
    }

/* YouTube'a gercek yazma islemi (Videos.Update) yapan buton -- .copy-btn/.chip-copy-btn
   gibi pasif kopyalama eylemlerinden bilincli olarak ayristirildi, cunku bu buton gercek
   disaridaki bir YouTube videosunu degistiriyor. Etiket ne yaptigini acikca soyluyor
   (sadece "YouTube'a Gonder" degil). */
.youtube-publish-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #FF0000;
    color: #FF0000;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

    .youtube-publish-btn i {
        font-size: 14px;
    }

    .youtube-publish-btn:hover:not(:disabled) {
        background: #FF0000;
        color: #fff;
    }

    .youtube-publish-btn:disabled {
        opacity: 0.65;
        cursor: default;
        border-color: #ddd;
        color: #999;
    }

@media only screen and (max-width: 1865px) {
    .page-body {
        display: none;
        max-width: 1745px;
        margin: auto;
        margin-left: 0px;
        padding-left: 130px;
        padding-right: 15px;
    }

}



@media only screen and (max-width: 1300px) {


    .menu-card {
        padding: 0px;
        left: 0px;
        width: 60px;
        /* height: 100%; */
        box-shadow: none;
        background: white;
        /* top: 0px; */
        /* height: 100px; */
        margin: 0px;
        margin-top: 65px;
    }


       


    .page-body {
        
        padding-left: 60px;
        padding-right: 10px;
    }

}




@media only screen and (max-width: 800px) {
    .page-body {
        display: none;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-page-image-container .main-page-image-container-header {
        padding-top: 8%
    }

    .menu-card {
        border-radius: 24px 24px 6px 6px;
        height: 60px;
        width: calc(100% - 12px);
        top: unset;
        bottom: 6px;
        left: 6px;
    }

        .menu-card ul {
            flex-direction: row;
            display: flex;
            justify-content: center;
            overflow: auto;
        }

            .menu-card ul li {
                padding: 0px;
                margin: 0 12px;
            }

            .menu-card ul > li:hover {
                background-color: transparent;
            }

            .menu-card ul > li > i {
                margin-bottom: 0px;
            }

    .page {
        margin: 0px;
        padding: 6px 0px;
    }

    .tab-buttons-section {
        flex-direction: column;
        height: 100%;
        border: none;
    }

        .tab-buttons-section .scroll-area {
            padding: 0 12px;
            border-bottom: 1px solid #DEE4EA;
        }

    .scroll-area-shadow {
        height: 60px;
    }

    .tab-buttons-section .static-area {
        width: 100%;
        flex: none;
        border-left: none;
        padding: 0 12px;
        justify-content: flex-end;
    }

    /* .swiper-container-autoheight, .swiper-container-autoheight .swiper-slide {
        background-color: var(--lightGrey)
    }*/

        .tab-bodies-section .swiper-slide > .cl-switcher-container {
        position: relative;
        top: unset;
        right: unset;
        padding: 20px 12px;
    }


        .tab-bodies-section .swiper-slide > .cl-switcher-container input[type=checkbox].cl-switcher, .tab-bodies-section .swiper-slide > .cl-switcher-container label {
            float: left;
        }

    .tab-bodies-section .tab-content-bar {
/*        display: flex;*/
/*        margin-top: 20px;*/
/*        height: 200px;*/
    }

    .tab-bodies-section .tab-content-bar-item {
        padding: 0px;
        margin-bottom: 22px;
        width: 50%;
    }

    .tab-bodies-section .tab-content {
        margin: 0px 0px 100px;
        display: block;
    }

    .tab-content-card:first-child {
        max-width: unset;
    }

    .card {
        margin: 20px 0 60px;
        padding: 0px;
    }

        .card:last-child {
            margin-bottom: 0px;
        }

    .card-header {
        padding: 0 12px;
    }

    .tab-content-card-section {
        margin: 0 12px;
    }

    .tab-buttons-section .static-area .generate-cards-button:hover {
        background-color: var(--blue);
        color: #fff;
    }

    .doctor-detail-section {
        padding: 8px 12px;
        flex-wrap: wrap;
    }

        .doctor-detail-section.active {
            height: 180px;
        }

        .doctor-detail-section .doctor-details {
            padding: 0 12px;
            text-align: center;
            margin: 0 auto;
        }

        .doctor-detail-section .doctor-detail-item {
            margin-top: 12px;
        }

            .doctor-detail-section .doctor-detail-item:first-child {
                padding-left: 0px;
            }

            .doctor-detail-section .doctor-detail-item:last-child {
                padding-right: 0px;
            }

        .doctor-detail-section .doctor-detail-value {
            font-size: 14px;
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .doctor-detail-section .doctor-image {
            width: 80px;
            height: 80px;
        }

            .doctor-detail-section .doctor-image img {
                width: 100px;
            }

        .doctor-detail-section .doctor-name {
            font-size: 18px;
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
        }

        .data-editor-section {
            flex-direction: column;
        }
}



.active-rowEditor .sideSectionBody {
    padding-top: 0px !important;
}

.active-rowEditor .dx-datagrid-search-panel.dx-show-invalid-badge.dx-textbox.dx-texteditor {
    width: 350px;
    padding: 3px 0px 0px 10px;
    height: 49px;
    width: 344px !important;
    box-shadow: -1px 13px 120px 0px rgb(0 0 0 / 14%);
    overflow: hidden;
}

.active-rowEditor .dx-searchbox.dx-editor-underlined .dx-placeholder::before, .active-rowEditor .dx-searchbox.dx-editor-underlined .dx-texteditor-input {
    padding-left: 42px;
}





.sideSearchPanel .button.flat {
    background-color: transparent;
    color: black;
    border-radius: 50%;
    box-shadow: none;
}



    .sideSearchPanel .button.flat i {
        color: black;
    }


    .sideSearchPanel .button.flat:hover {
        background-color: rgba(0,0,0,.08)
    }



.side-section-select-all-container {
    display: none;
    align-content: center;
    align-items: center;
}


.multiple .side-section-select-all-container {
    display: flex;
    z-index: 1;
    color: white;
    /* left: 55px; */
    float: right;
    /* margin-right: 35px; */
    position: absolute;
    right: 36px;
    bottom: 39px;
}


.dx-widget.dxLookupEditor {
    border-radius: 10px;
    background: rgb(0 0 0 / 6%);
    padding: 6px 6px 6px 0px;
}


.dx-texteditor.dx-editor-underlined.dx-state-disabled::after, .dx-texteditor.dx-editor-underlined.dx-state-readonly.dx-state-hover::after, .dx-texteditor.dx-editor-underlined.dx-state-readonly::after {
    border: 0px none;
}

.dx-texteditor-buttons-container .dx-button {
    min-width: 0px;
}




.dx-toolbar-after .dx-button-content {
    display: flex;
}

.dxLookupEditor {
    position: relative;
}

    .dxLookupEditor .dx-label {
        font-size: 12px;
    }








.dx-lookupeditor-container {
    display: flex;
    min-height: 27px;
    height: max-content;
    align-items: center;
}


    .dx-lookupeditor-container .content {
        width: 100%;
        padding-left: 15px;
        padding-top: 13px;
        font-size: 11px;
    }



    .dx-texteditor-buttons-container .dx-button-content, .dx-lookupeditor-container .dx-button-content {
        padding: 0px;
    }

    .dx-texteditor-buttons-container .dx-button, .dx-lookupeditor-container .dx-button {
        min-width: 0px;
    }






    .dx-texteditor-buttons-container .dx-button-content, .dx-lookupeditor-container .dx-button-content {
        padding: 0px;
    }

    .dx-texteditor-buttons-container .dx-button, .dx-lookupeditor-container .dx-button {
        min-width: 0px;
    }




.dx-datagrid-edit-popup .dx-lookupeditor-container .content {
    padding-top: 0px;
}


.dx-state-disable {
    opacity: 0.5;
    pointer-events: none;
}



.clusterHeader {
    padding: 10px;
    font-size: 20px;
    text-align: center
}



#bonusGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#storeGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#dailyIncomeGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#personalGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#invoiceGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#customerGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#stockGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#salesAnalysisGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#undercountGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}

#weeklyOrderGrid .dx-datagrid .dx-row > td {
    /*padding: 14px 16px;*/
    font-size: 11px;
    line-height: 14px;
}



.dx-editor-filled .dx-texteditor-buttons-container > .dx-button, .dx-editor-filled .dx-texteditor-buttons-container > .dx-clear-button-area, .dx-editor-outlined .dx-texteditor-buttons-container > .dx-button, .dx-editor-outlined .dx-texteditor-buttons-container > .dx-clear-button-area, .dx-editor-underlined .dx-texteditor-buttons-container > .dx-button, .dx-editor-underlined .dx-texteditor-buttons-container > .dx-clear-button-area {
    margin-left: 5px;
    /* margin-right:5px; */
}



.customerTable td {
    vertical-align: top;
}


.dx-texteditor.dx-editor-filled::after {
    border-bottom: 0px
}



.customerTable td:first-child {
    border-right: 20px solid white;
}

.customerTable td:last-child {
    border-right: 20px solid white;
}

.webix_column.webix_last {
    border-right: 1px solid #EDEFF0;
}


.webix_dtable .webix_last_topcell.webix_lock {
    text-align: center
}




.tab-button i {
    color: #d32f2ffc;
}

.tab-button.ok i {
    color: green;
}

.tab-button i {
    padding: 10px
}


.tab-button .ok {
    display: none !important;
}



    .tab-button.ok .ok {
        display: initial !important;
    }

    .tab-button.ok .nok {
        display: none !important
    }



.webix_ssheet_table .webix_ssheet_hide_column {
    border-right: none;
}


.resultTab {
    align-items: center;
    height: calc(100vh - 160px);
    justify-content: center;
}

.indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}


li.menuitem.active {
    color: #f7bb25;
}


.dx-datagrid-edit-popup-form .dx-texteditor-label {
    display: none;
}



#bonusPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#storePage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#dailyIncomePage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#personalPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#invoicePage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#customerPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#stockPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#salesAnalysisPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#undercountPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}

#weeklyOrderPage .header {
    height: 400px;
    background-color: #fafafa;
    margin-top: 32px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}


 .filters {
    display: flex;
    flex-wrap: wrap;
    padding-top: 17px;
    gap: 13px;
}

    .filters .dx-texteditor-label {
        color:black;
        font-weight:500;
        
    }


     .filters .dx-label {
        font-size: 14px
    }



#bonusPage .searchBoxContainer {
    width: 100%;
    text-align: center;
}

.filters .dx-datebox, .filters .dx-selectbox, .filters .dxLookupEditor {
    background: rgb(246 246 246);
    border-radius: 10px;
    padding: 10px;
}

 .filters .dx-lookupeditor-container .content {
    padding-left: 7px
}



     .filters .dx-widget .dx-placeholder  {
        color: black;
        font-size: 14px;
        font-weight: 500;
    }

#bonusPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #bonusPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#bonusPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
        background-size: 250px;
}

#bonusPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    overflow: auto;
}

#bonusPage .header .dx-button{
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#bonusPage .header .dx-placeholder {
    font-size:15px
}

#bonusPage #searchBox {
    background: white;
    border-radius: 10px;
    padding: 10px;
}

#storePage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #storePage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#storePage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#storePage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    overflow: auto;
}

#storePage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#storePage .header .dx-placeholder {
    font-size: 15px
}


#dailyIncomePage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #dailyIncomePage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#dailyIncomePage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#dailyIncomePage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#dailyIncomePage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#dailyIncomePage .header .dx-placeholder {
    font-size: 15px
}


#personalPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #personalPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#personalPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#personalPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#personalPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#personalPage .header .dx-placeholder {
    font-size: 15px
}


#invoicePage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #invoicePage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#invoicePage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#invoicePage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#invoicePage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#invoicePage .header .dx-placeholder {
    font-size: 15px
}

#customerPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #customerPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#customerPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#customerPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#customerPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#customerPage .header .dx-placeholder {
    font-size: 15px
}

#stockPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #stockPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#stockPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#stockPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#stockPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#stockPage .header .dx-placeholder {
    font-size: 15px
}

#salesAnalysisPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #salesAnalysisPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#salesAnalysisPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#salesAnalysisPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#salesAnalysisPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#salesAnalysisPage .header .dx-placeholder {
    font-size: 15px
}

#undercountPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #undercountPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#undercountPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#undercountPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#undercountPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#undercountPage .header .dx-placeholder {
    font-size: 15px
}

#weeklyOrderPage .headerTitle {
    font-size: 46px;
    font-weight: 500;
}

    #weeklyOrderPage .headerTitle span:last-child {
        color: lightgray;
        text-decoration: underline;
        text-underline-position: from-font;
    }

#weeklyOrderPage .logoTopLeft {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(/images/headerTopLeft.png);
    background-size: 250px;
}

#weeklyOrderPage .logoBottomRight {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-image: url(/images/headerbottomright.png);
    background-size: 250px;
    display: flex;
    justify-content: flex-end;
    overflow: auto;
}

#weeklyOrderPage .header .dx-button {
    background: black;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

#weeklyOrderPage .header .dx-placeholder {
    font-size: 15px
}




.searchInputContainer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    gap: 10px;
}





.filtersText {
    width: 100%;
    font-size: 26px;
    font-weight: 600;
    padding: 20px 0px;
}

.dx-datagrid .dx-row-lines > td {
    border-bottom: 1px solid #e0e0e073
}


.lastDay {
    background-color: #e91e6317;

}


.data-editor-bigtitle-with-filter {
    display: flex;
    justify-content: flex-start;
    column-gap: 20px;
    align-items: center;
}

.data-editor-bigtitle-with-filter .filters{
    padding-top:0px;
}



.dx-popup-title.dx-toolbar {
    padding-top:30px;
}


/* ============================================================
   THEME — Light/Dark Mode
   The app is light by default. Activate dark mode by adding the
   class `dark-mode` to <body>. Stored in localStorage as
   `site_theme` and synced via the `site_theme` cookie so the
   landing page (index.html) and the app share the preference.
   ============================================================ */

:root {
    --theme-bg: #ffffff;
    --theme-bg-alt: #f9f9fb;
    --theme-bg-card: #ffffff;
    --theme-bg-elevated: #ffffff;
    --theme-text: #272F58;
    --theme-text-muted: #64748b;
    --theme-text-faint: #bfbfbf;
    --theme-border: #e0e0e1;
    --theme-border-soft: rgba(15, 23, 42, 0.08);
    --theme-shadow: rgba(167, 163, 163, 0.28);
    --theme-overlay: rgba(255, 255, 255, 0.95);
}

body.dark-mode {
    --theme-bg: #0f172a;
    --theme-bg-alt: #111827;
    --theme-bg-card: #1e293b;
    --theme-bg-elevated: #1e293b;
    --theme-text: #e2e8f0;
    --theme-text-muted: #94a3b8;
    --theme-text-faint: #64748b;
    --theme-border: #334155;
    --theme-border-soft: rgba(255, 255, 255, 0.08);
    --theme-shadow: rgba(0, 0, 0, 0.45);
    --theme-overlay: rgba(15, 23, 42, 0.95);
}

/* Smooth transition when toggling */
body, .page-body, .menu-card, .tab-content-card, .data-editor-section,
.side-section, .tab-bodies-section, .scroll-area-shadow,
.tab-content-card-section, .tab-content-info-text {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ---- Dark mode overrides ---- */
body.dark-mode {
    background-color: var(--theme-bg) !important;
    color: var(--theme-text);
}

html.dark-mode,
html:has(body.dark-mode) {
    background-color: #0f172a !important;
}

body.dark-mode ::-webkit-scrollbar-thumb { background-color: #475569 !important; }
body.dark-mode ::-webkit-scrollbar-thumb:horizontal { background-color: #475569 !important; }

/* Menu card stays branded but tone down for dark mode */
body.dark-mode .menu-card {
    background-color: #1e293b;
    border-right: 1px solid var(--theme-border);
}

/* Page bodies & panels */
body.dark-mode .page-body { color: var(--theme-text); }

body.dark-mode .data-editor-section,
body.dark-mode .tab-content,
body.dark-mode .tab-content-bar,
body.dark-mode .tab-bodies-section,
body.dark-mode .tab-content-card,
body.dark-mode .tab-content-card-section,
body.dark-mode .side-section,
body.dark-mode .side-section-body,
body.dark-mode .side-section-header,
body.dark-mode .side-section-footer {
    background-color: var(--theme-bg-card) !important;
    color: var(--theme-text);
}

body.dark-mode .data-editor-title,
body.dark-mode .data-editor-bigtitle,
body.dark-mode .side-section-big-title,
body.dark-mode .side-section-label,
body.dark-mode .side-section-label.header,
body.dark-mode .side-section-label.subttitle,
body.dark-mode .filtersText {
    color: var(--theme-text) !important;
}

body.dark-mode .data-editor-subtitle,
body.dark-mode .tab-content-info-text { color: var(--theme-text-muted) !important; }

/* Tab buttons */
body.dark-mode .tab-buttons-section { background-color: transparent; }
body.dark-mode .tab-button { color: var(--theme-text-muted); }
body.dark-mode .tab-button.active { color: var(--theme-text); border-color: currentColor; }
body.dark-mode .scroll-area-shadow {
    background: linear-gradient(90deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.6) 20%, rgba(15,23,42,0.95) 100%) !important;
}

/* Cards */
body.dark-mode .card {
    background-color: var(--theme-bg-card);
    color: var(--theme-text);
    box-shadow: 1px 1px 7px 2px var(--theme-shadow);
}

/* Inputs (DevExpress) */
body.dark-mode .dx-widget,
body.dark-mode .dx-texteditor-input,
body.dark-mode .dx-texteditor.dx-editor-outlined,
body.dark-mode .dx-texteditor.dx-editor-underlined,
body.dark-mode .dx-texteditor.dx-editor-filled,
body.dark-mode .dx-dropdowneditor-overlay,
body.dark-mode .dx-list,
body.dark-mode .dx-popup-content {
    background-color: transparent;
    color: var(--theme-text);
}

body.dark-mode .dx-texteditor.dx-editor-outlined,
body.dark-mode .dx-texteditor.dx-editor-filled {
    background-color: #0b1220 !important;
    border-color: var(--theme-border) !important;
}

body.dark-mode .dx-texteditor-input { color: var(--theme-text) !important; }
body.dark-mode .dx-placeholder { color: var(--theme-text-faint) !important; }

body.dark-mode .dx-button {
    background-color: #1e293b;
    color: var(--theme-text);
    border-color: var(--theme-border);
}

/* Branded action buttons (declared by #id with `background-color: white`)
   override the generic .dx-button rule above due to ID specificity. Restate
   their base colors for dark mode so all of them switch consistently — not
   just the few that lacked an ID-level rule. Hover states keep their brand
   color (red/green/blue/etc.) and remain readable in both themes. */
body.dark-mode #trashButton,
body.dark-mode #add-link-button,
body.dark-mode #upload-srt-button,
body.dark-mode #next-video-button,
body.dark-mode #back-video-button,
body.dark-mode #get-post-button,
body.dark-mode #trashChannelButton,
body.dark-mode #add-channel-button,
body.dark-mode #get-channel-button,
body.dark-mode #complete-share-button,
body.dark-mode #next-channel-button,
body.dark-mode #back-channel-button,
body.dark-mode #back-channel-detail-button,
body.dark-mode #auto-share-button,
body.dark-mode #post-shareall-button,
body.dark-mode #post-shareselected-button,
body.dark-mode #save-personal-button {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

/* DevExtreme renders nested .dx-button-content / .dx-button-text inside
   each .dxButton — make sure inner text picks up the dark color too. */
body.dark-mode #trashButton .dx-button-text,
body.dark-mode #add-link-button .dx-button-text,
body.dark-mode #upload-srt-button .dx-button-text,
body.dark-mode #next-video-button .dx-button-text,
body.dark-mode #back-video-button .dx-button-text,
body.dark-mode #get-post-button .dx-button-text,
body.dark-mode #trashChannelButton .dx-button-text,
body.dark-mode #add-channel-button .dx-button-text,
body.dark-mode #get-channel-button .dx-button-text,
body.dark-mode #complete-share-button .dx-button-text,
body.dark-mode #next-channel-button .dx-button-text,
body.dark-mode #back-channel-button .dx-button-text,
body.dark-mode #back-channel-detail-button .dx-button-text,
body.dark-mode #auto-share-button .dx-button-text,
body.dark-mode #post-shareall-button .dx-button-text,
body.dark-mode #post-shareselected-button .dx-button-text,
body.dark-mode #save-personal-button .dx-button-text,
body.dark-mode #trashButton .dx-icon,
body.dark-mode #add-link-button .dx-icon,
body.dark-mode #upload-srt-button .dx-icon,
body.dark-mode #next-video-button .dx-icon,
body.dark-mode #back-video-button .dx-icon,
body.dark-mode #get-post-button .dx-icon,
body.dark-mode #trashChannelButton .dx-icon,
body.dark-mode #add-channel-button .dx-icon,
body.dark-mode #get-channel-button .dx-icon,
body.dark-mode #complete-share-button .dx-icon,
body.dark-mode #next-channel-button .dx-icon,
body.dark-mode #back-channel-button .dx-icon,
body.dark-mode #back-channel-detail-button .dx-icon,
body.dark-mode #auto-share-button .dx-icon,
body.dark-mode #post-shareall-button .dx-icon,
body.dark-mode #post-shareselected-button .dx-icon,
body.dark-mode #save-personal-button .dx-icon {
    color: #f1f5f9 !important;
}

/* Datagrid */
body.dark-mode .dx-datagrid,
body.dark-mode .dx-datagrid-header-panel,
body.dark-mode .dx-datagrid .dx-toolbar,
body.dark-mode .dx-datagrid-headers,
body.dark-mode .dx-datagrid-rowsview,
body.dark-mode .dx-datagrid-rowsview .dx-row,
body.dark-mode .dx-datagrid-rowsview .dx-row > td,
body.dark-mode .dx-datagrid-headers .dx-row > td {
    background-color: var(--theme-bg-card) !important;
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}

body.dark-mode .dx-datagrid .dx-row-lines > td { border-bottom-color: var(--theme-border) !important; }

/* Login page */
body.dark-mode #loginPage .pageContent {
    background: #0b1220 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}
body.dark-mode #loginPage .form-panel { background: #0f172a !important; }
body.dark-mode #loginPage .form-header h3 { color: #f1f5f9 !important; }
body.dark-mode #loginPage .form-header p,
body.dark-mode #loginPage .form-links,
body.dark-mode #loginPage label { color: #94a3b8 !important; }
body.dark-mode #loginPage a#forgotPassword { color: #f1f5f9 !important; }
body.dark-mode #loginPage a#showSignup,
body.dark-mode #loginPage a#showLogin { color: #38bdf8 !important; }

/* Animations / lottie containers */
body.dark-mode .animation-createpost-container,
body.dark-mode .animation-publishpost-container,
body.dark-mode .animation-addvideo-container { background-color: var(--theme-bg) !important; }

/* Logo preview backgrounds (kept light because of icon contrast) */
body.dark-mode .logo-preview { filter: brightness(0.9); }

/* Theme toggle button (used inside the app) */
.app-theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--theme-border-soft);
    background-color: var(--theme-bg-card);
    color: var(--theme-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: transform .15s ease, background-color .25s ease, color .25s ease;
}
.app-theme-toggle:hover { transform: translateY(-2px); }
body.dark-mode .app-theme-toggle {
    background-color: #1e293b;
    color: #f8fafc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.app-theme-toggle .icon-sun { display: none; }
.app-theme-toggle .icon-moon { display: inline; }
body.dark-mode .app-theme-toggle .icon-sun { display: inline; }
body.dark-mode .app-theme-toggle .icon-moon { display: none; }

