﻿@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


:root {

    --Tex-Secondary: #83899f;
    --Base-Line-Light: #edeef3;
    font-family: 'Manrope', sans-serif;

}

body,
html {
    margin: 0;
    min-height: 100dvh;
    height: 100dvh;
    background: white;
    font-family: 'Manrope', sans-serif;
    font-size:16px !important;
}

.dx-drawer-content {
    background-color: #fbfbfb !important; 
}

:root {
    /* Colors */
    --blue-color: #4B5262;
    --background-color: #CDEE52;
    --dark-background-color: #252525;
    --light-text-color: #E0E5F2;
    --gray-color: #949494;
    --primary-button-color: #CDEE52;
    --secondary-button-color: #252525;
    --main-heading-color: #0F172A;

    /* Font Properties */
    --font-family: 'Manrope', sans-serif;
    --font-size-small: 0.875rem;
    --font-size-medium: 1rem;
    --font-size-large:  clamp(1rem, 4vw, 1.325rem);
    --font-size-xlarge: clamp(1.325rem, 6vw, 2rem); 
    --font-size-heading: 3.45rem;
    --font-weight-light: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-small: 0.5rem;
    --spacing-medium: 0.625rem;
    --spacing-large: 1rem;
    --spacing-xl: 2rem;

    /* Sizes */
    --button-width: 15rem;
    --button-height: 3.375rem;
    --input-width: 25.625rem;
    --input-height: 3.125rem;
    --container-padding: 12.5rem;
    --border-radius: 0.5rem;

    /* Line Heights */
    --line-height-default: 1.62;
    --line-height-large: clamp(1.8rem, 4vh, 3.5rem);
    --line-height-heading: 1.19;

    /* Letter Spacing */
    --letter-spacing-tight: -0.02rem;
    --letter-spacing-heading: -0.25rem;

    /* Responsive Font Size */
    --font-size-responsive: 1vw;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex;
    height: 100vh;
    width: 100vw;
    /* Changed to vw for viewport responsiveness */
}

.dx-drawer-content {
}

.menu-button {
    visibility: hidden;
}

@media (max-width: 600px) {
    .container-2 {
        width: 95% !important;
    }

    .menu-button {
        visibility: visible;
    }
}

@media (max-width: 1279px) {
    .bottom-title {
        visibility: hidden;
    }

    .nav-separator-line {
        visibility: hidden;
    }

    .container {
        padding-top: 0px;
        padding-right: 0px;
    }
}

.dx-toolbar .dx-toolbar-after {
    padding-right: 1rem;
    height: 100%;
}

    .brand-icon {
        position: sticky;
        margin-left: 27px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }


.toolbar-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.top-right-content {
    display: flex;
    width: 20.375rem;
    /* bunu değiş */
    height: 3.125rem;
    /* bunu değiş */
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.default-icon {
    display: block;
    flex-shrink: 0;
    /*width: 6.9rem; */
    height: 55.2px;

    margin-bottom: 16px;
    /* Show the default icon by default */
}

.responsive-icon {
    display: none;
    /* Hide the responsive icon by default */
}

@media (min-width: 600px) and (max-width: 1280px) {

    .responsive-icon {
        display: block;
        /* Show the responsive icon */
        width: 172px;
        /* Adjust as needed */
        height: auto;
        /* Maintain aspect ratio */
    }
}


.nav-separator-line {
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.bottom-title {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    color: #757575;
}

.layout-header {
    flex: 0 0 auto;
    position: relative;
    z-index: 1501;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 60px;
    text-align: center;
    padding: 0;
}

.dx-toolbar .dx-toolbar-item.menu-button > .dx-toolbar-item-content .dx-icon {
    color: #252525;
}

.dx-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

.dx-card.wide-card {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 0;
    border-left: 0;
}

.with-footer > div > div > .dx-scrollable-content {
    height: 100%;
}

.layout-body {
    flex: 1;
    height: 100%;
    min-height: 0;
}

.layout-body .menu-container {
}


.dx-toast-success {
    background: #cdee52 !important;
    width: 30vh !important;
    text-align: center;
    color: #252525;
;
}

.layout-body .content {
    flex-grow: 1;
    line-height: 1.5;
    height: 100svh;
}
.content{
    height: auto;
}

.layout-body .content h2 {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.layout-body .content-block {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.layout-body .content-footer {
    display: block;
    /*color: rgba(0,0,0,.609);*/
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    padding-bottom: 24px;
}

.layout-body .responsive-paddings {
    padding: 20px;
}

.layout-body-hidden {
    visibility: hidden;
}

@media screen and (min-width: 600px) {
    .layout-body .content-block {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings {
        padding: 40px;
    }
}

.right-nav {
    display: flex;
    width: 20.375rem;
    height: 3.125rem;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}


.dx-treeview-item-without-checkbox.dx-state-selected > .dx-treeview-item {
    color: white;
}


.dx-treeview-item .dx-treeview-item-content {
    order: 0 !important;
}

.dx-drawer-panel-content {
    width: auto !important;
}

#layout-drawer > div > div.dx-drawer-panel-content.dx-overlay.dx-widget.dx-visibility-change-handler > div > div{
    background-color: white !important;
}
.menu-container {
    width: 255px; /* RESPONSIVE OLMALI */
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 90vh;
    margin-left: 1.13rem;
    margin-right: 1.13rem;
    justify-content: space-between;
}



.dx-treeview span {
    font-family: "Manrope";
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-wrap: nowrap;
    align-self: center !important;
}

.nav-separator-line {
    display: block;
    width: 100%;
    height: 0;
    border-bottom: 1px solid var(--Base-Line-Light);
    /* This creates the line */
}

.bottom-title {
    display: flex;
    width: 15rem;
    padding: 0.5rem 9.25rem 0.375rem 0.5rem;
    align-items: center;
    color: #83899f;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.125rem;
    /* 128.571% */
}

.dark-mode-switch {
    display: flex;
    width: 15rem;
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    background: var(#f5f6f8);
}

.dx-treeview-node.dx-treeview-item-without-checkbox[data-item-id="theme-switch"] {
    display: flex;
    width: 15rem;
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.dx-treeview-node[data-item-id="theme-switch"] .dx-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.toolbar-transition {
    transition: opacity 0.4s ease, max-height 0.4s ease;
    overflow: hidden;
}

.toolbar-hidden {
    opacity: 0;
    max-height: 0;
}

.toolbar-visible {
    opacity: 1;
    max-height: 100px;
    /* Set this to the max height you expect the toolbar to be */
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        padding-right: 0 !important;
        padding-left: 0 !important;
        align-items: center;
    }
}

@media (max-width: 670px) {
    .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
        align-items: center;
    }
}


@media (max-width: 600px) {
    #layout-drawer  .dx-overlay-content {
        width: 300px !important;
    }
    .menu-container {
        padding-left: 1.13rem;
        padding-right: 1.13rem;
        margin:0 !important;
    }
      #layout-toolbar  span.dx-button-text {
            display: none !important;
        }

}

@media (min-width: 600px) and (max-width: 1280px) {
}

#layout-toolbar .dx-toolbar-items-container {
    margin-top: 1%;
    margin-bottom: 0.5%;
    display: flex;
    height: 3.125rem;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    background-color: #fbfbfb;
}

#layout-toolbar i {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    font-size: 1.75rem;
    margin: 0px;
}

#layout-toolbar span {
    color: #252525;
    font-family: Manrope;
    margin-top: 1px;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1rem;
    margin-left: 0.25rem;
    /* 114.286% */
    text-transform: capitalize;
    overflow: initial !important;
}

#layout-toolbar .dx-button-content {
    padding: 0% !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.settings-button .dx-button-has-icon .dx-icon {
    width: 1.55rem;
    height: 1.55rem;
}

.dx-toolbar-after {
    display: flex;
    gap: 5px;
    align-items: center;
    height: auto;
}

#user-settings .dx-button-has-icon.dx-button-has-text .dx-icon {
    width: 34px;
    margin-top: 2px;
    height: 1.75rem;
}

.dx-switch-handle {
    box-shadow: none;
}

.dx-switch-handle :active {
    box-shadow: none;
}

.theme-switch {
    display: flex;
    gap: 1rem;
}

.dx-switch-handle {
    background-color: #9ca0b2;
}

li[data-item-id="dark-mode"] {
    /* Your styles here */
    border-radius: 0.75rem;
    background: var(--Base-Surface, #cdee52);
}

.darkmode-background .dx-treeview-item-content .dx-treeview-item-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.darkmode-background .dx-treeview span {
}

.dx-texteditor.dx-editor-filled::after {
    border: none;
}

.dx-treeview-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0.5rem !important;
    align-self: stretch;
    margin-bottom: 0.5rem;
}

.menu-item {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
}

.dx-treeview {
    width: fit-content;
}

.dx-treeview-node.dx-treeview-item-without-checkbox.dx-treeview-root-node {
    align-self: stretch;
}

.dx-treeview-node-container {

}

.menu-item img {
    width: 1.75rem;
    height: 1.75rem;
}

.submenu-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 13rem;
    gap:0.5rem;
}

.yakinda-label {
    display: flex;
    height: 1.25rem;
    padding: 0.625rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: var(--Spacing-24, 1.5rem);
    background: #CDEE52;
    color: #252525 !important;
    font-family: Manrope !important;
    font-size: 0.6875rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    position: absolute;
    left: 13.2rem;
}

.yakinda-label-left{
    display: flex;
    height: 1.25rem;
    padding: 0.625rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: var(--Spacing-24, 1.5rem);
    background: #CDEE52;
    color: #252525 !important;
    font-family: Manrope !important;
    font-size: 0.6875rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
}

.dx-treeview-item-without-checkbox.dx-state-selected > .dx-treeview-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    border-radius: 0.5rem;
    background: #8965f0;
}

#darkmode-switch {
    position: relative;
    left: 50px;
    margin-left: 1rem;
}

.user-settings-item {
    display: flex;
    align-items: center;
    width: 100% !important;
    gap: 1rem;
}

#help-list .dx-item-content.dx-list-item-content {
    display: flex;
    width: 100%;
    height: 3.125rem;
    padding: 1rem 1rem 1rem 0;
    /* padding: directions (top, right, bottom, left) */
    align-items: center;
    flex-shrink: 0;
}

.user-settings-item span {
    color: inherit; /* This ensures other items inherit their color from parent */
}

.user-settings-item[aria-label="Güvenli Çıkış"] span {
    color: #f40f17;
}

.paratim-asil {
    width: 5.91169rem;
    height: 3.125rem;
    flex-shrink: 0;
}

.img-pic-green {
    background-image: url("/src/images/troy-green.svg");
    width: clamp(13rem, 84vw, 22.9375rem);
    height: clamp(5rem, 50vw, 11.5625rem);
    background-repeat: no-repeat;
    background-size: contain;
}

.img-pic-purple {
    background-image: url("/src/images/troy-purple.svg");
    width: clamp(13rem, 84vw, 22.9375rem);
    height: clamp(5rem, 50vw, 11.5625rem);
    background-repeat: no-repeat;
    background-size: contain;
}

.img-pic-black {
    background-image: url("/src/images/troy-black.svg");
    width: clamp(13rem, 84vw, 22.9375rem);
    height: clamp(5rem, 50vw, 11.5625rem);
    background-repeat: no-repeat;
    background-size: contain;
}

.img-text {
    color: #ffffff;
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
        font-weight: bold;
    line-height: 1.5rem; /* 150% */
    width: 300px;
}

.img-pic {
    color: #000;
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
}

.img-wrapper {
    top: 8.69rem !important;
    position: relative;
    left: 1.5rem;
    display: flex;
    width: 11.8125rem;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing-8, 0.5rem);
}

.img-code {
    color: #ffffff;
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
}

.dark {
    color: white;
}

.help-misc-cols {display: flex;flex-direction: column;gap: 0.3rem;}

.help-container {
    display: flex;
    padding: 0.9rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--Spacing-32, 1rem);
    flex-shrink: 0;
}

.help-title {
    color: #252525;
    font-family: Manrope;
    font-size: 1rem;
    font-style: normal;
        font-weight: bold;
    line-height: 100%;
}

.help-subtext {
    color: rgba(37, 37, 37, 0.70);
    font-family: Manrope;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 1.125rem */
}

.help-subtext {
}

.help-misc {
}

.help-misc-cols {
}

.row img {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

.row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
    align-self: stretch;
}

.col {
    display: flex;
    height: 3.125rem;
    align-items: center;
    gap: 0.875rem;
    align-self: stretch;
}

.h-title {
    color: var(#000);
    font-family: Manrope;
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.h-subtext {
    color: rgba(37, 37, 37, 0.55);
    font-family: Manrope;
    font-size: clamp(0.85rem, 3.75vw, 1rem); 
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.h-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing-8, 0.5rem);
    align-self: stretch;
}


.item-content img{
    width: 23px !important;
    height: 23px !important;
}
.row-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}
a{
    text-decoration: none;
    color: #252525 !important;
}
.tempting{
        margin-top: 10px;
        width: 43px;
        height: 100%;
}
.dflex{
    display: flex;
    align-items: center;
    gap: 0.875rem;
    align-self: stretch;
}
.h-title{
    color: #252525;
}

.icon-wrapper{
        width: 44px;
        height: 44px;
        background-color: #cdee52;
        border-radius: 30px;  /* Same as rx value */
    display: flex;
    justify-content: center;
}
.icon-wrapper img{
    width: 24px;
    align-self: center;
}
.dx-overlay-content.dx-popup-normal.dx-resizable.dx-popup-flex-height:has(#user-settings-treeview)
{
    height: clamp(71.3vh, 85.2vh, 100%) !important;
    width: clamp(288px, 95vw, 310px) !important;
}


.dx-dropdownbutton-content {
    height: 100% !important;
}
#sidebar-top .dx-scrollable-wrapper,
    #sidebar-bottom .dx-scrollable-wrapper{
    height: auto !important;
}
@media (max-width: 1279.99px){
    .menu-container{
        margin-left: 9px !important;
    }
    .brand-icon {
        margin-left: 9px !important;
    }
    li[data-item-id="dark-mode"]
    {
        margin-bottom: 50px !important;
    }
    #mainGallery{
        display: none;
    }
}
@media (max-width: 100dvw) and (max-height: 823px) {

    li[data-item-id="dark-mode"]
    {
        margin-bottom: 50px !important;
    }
}
@media(max-width: 600px)
{
    .brand-icon {
        margin-left: 29px !important;
    }
}
#user-settings .dx-icon,#helpButton .dx-icon{
    color: #252525;
}

@media (min-height: 900px) {
    .xenius-block {
        height: unset !important;
    }
}

@media(max-width: 1400px){
    .cb-container{
        width:auto !important;
        margin-left:2rem !important;
        margin-right:2rem !important;

    }
    .db-middle-wrapper{
        align-self: self-start !important;
    }
    .img-container {
        justify-content: center !important;
    }
}

/*@media (max-width: 800px) {*/
/*    .tutorial .cutout .tooltip {*/
/*        top: unset;*/
/*        bottom: calc(-100% + 1.5rem);*/
/*    }*/
/*    .tutorial .cutout .tooltip .close {*/
/*        padding: 8px;*/
/*    }*/
/*    .tutorial .cutout .tooltip .close img#close-tooltip {*/
/*        width: 24px;*/
/*        height: 24px;*/
/*    }*/
/*    .tutorial .cutout .tooltip .frame img {*/
/*        width: 12rem;*/
/*        border-radius: 6px;*/
/*    }*/
/*    .tutorial .cutout .tooltip .t-content {*/
/*        padding: 12px 12px 0;*/
/*    }*/
/*    .tutorial .cutout .tooltip .next {*/
/*        padding: 8px;*/
/*        margin: 0 8px 8px;*/
/*    }*/
/*}*/
/* Hide date picker icon across browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

/* For Firefox */
input[type="date"] {
    -moz-appearance: textfield;
}

/* For IE */
input[type="date"]::-ms-clear {
    display: none;
}
input.dx-texteditor-input {
    font-size: clamp(0.9rem, 4vw, 1rem);
}


div[role="button"] .dx-inkripple-wave {
    display: none;
}
#layout-toolbar .dx-buttongroup-mode-text .dx-buttongroup-wrapper{
    align-items: center;
}
#devextreme1 {
    height: 3rem;
    width: 100%;
    max-width: 18rem;
}
.popup-container{
    width:clamp(15rem,40vw,30rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height:100%;
    
}
.popup-body{
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.popup-button-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-head {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.gallery-container, .image-container {
    margin: 15px 0;
    width: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-single-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 200px;
    margin: 0 auto;
}

.popup-head-title{
        color: #252525;
        font-family: Manrope, sans-serif;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
}

.popup-g-content{
    color: #252525;
    font-family: Manrope, sans-serif;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}


.custom-btn-indicator {
    position: absolute;
    right: 15px;
}

.continue-text {
    color: #252525;
    font-family: Manrope;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(0.85rem, 3.75vw, 1rem) !important;
    line-height: normal;
    text-transform: capitalize !important;
    font-weight: bold;
    letter-spacing: .04em;
}
