@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* @font-face {
    font-family: 'Inter';
    src: url('/font/Inter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

html,
body {
    scroll-behavior: smooth !important;
    font-size: 16px;
    font-family: 'Inter', 'Poppins', serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /* background-color: #fcfcfc; */
    /* background-image: url('../image/motif.png'); */
    background-repeat: repeat;
    background-size: 48px;
    /* overflow-x: hidden !important; */
}

/* .elibelinde {
    background-image: url('../image/motif.png');
    background-repeat: repeat;
    background-size: 48px;
} */

/* Chrome, Edge */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container,
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-inner-spin-button {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

a {
    &:hover {
        color: inherit;
    }

    &:not(.font-bold):not(.font-semibold):not(.font-medium):not(.font-light):not(.font-thin):not(.font-extralight):not(.font-extrabold):not(.font-black) {
        font-weight: normal !important;
    }
}

a[href='javascript:void(0)'] {
    >* {
        pointer-events: none;
    }
}

a:not(.underline) {

    &:hover,
    &:focus {
        text-decoration: none;
    }
}

/*
.default {
    a {
        all: unset;
        color: #1c64f2;

        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        transition: color 0.2s ease-in-out;
        display: inline;

        &:hover {
            color: #1a56db;
            text-decoration: underline;
        }

        &:active {
            color: #1a56db;
        }
    }
}

*/

p {
    margin-bottom: 0;
}

label {
    font-weight: normal;
    margin: 0;
}

input[type='checkbox'] {
    margin: 0;
}

input[type='checkbox']:focus {
    outline: none;
}

button * {
    pointer-events: none !important;
}

img {
    border: none;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

.zoomIn-modal-animation {
    animation-name: zoomIn;
    animation-duration: 0.3s;
    transform: scale(1);
}

@keyframes bottomToTop {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.bottom-to-top-alert-animation {
    animation-name: bottomToTop;
    animation-duration: 0.3s;
    transform: translateY(0);
}

label {
    user-select: none !important;
}

.modal-backdrop {
    z-index: 0;
}

.custom-modal,
.alert-custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    align-items: center;
    justify-content: center;

    .modal-outside {
        position: absolute;
        z-index: -10;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .modal-content {
        /* width: 100%; */
        /* max-height: 90vh; */
        max-height: 100dvh;
        margin: 0 auto;
        animation: zoomIn 0.3s;

        >section {
            overflow-y: auto;
        }
    }
}

@keyframes fadeDown {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

.aside-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    animation: fadeDown;
    transition: 0.3s ease-in-out;

    &:not(.active) {
        top: -100vh !important;
    }

    .aside-modal-outside {
        position: absolute;
        z-index: -10;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .aside-modal-content {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        background-color: #fff;
        box-shadow: -1px 0px 2px rgba(0, 0, 0, 0.1);
    }
}

.alert-custom-modal {
    z-index: 15;
}

/* width */
.hidden-scroll::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Track */
.hidden-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.hidden-scroll::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.hidden-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track */
.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
    /* background: #f1f1f1; */
}

/* Handle */
.custom-scroll::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

/* Handle on hover */
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

.group input:checked+label {
    color: #3b82f6;

    img {
        border: 2px solid #3b82f6;
    }
}

.skeleton {
    /* background-color: #e2e8f0; */
    background-color: white;
    /* Açık gri ton */
    position: relative;
    overflow: hidden;
}

/* Parlayan efekt için */
.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 150%;
    z-index: 20;
    background: linear-gradient(90deg, transparent, #f0f0f0, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    from {
        left: -150%;
    }

    to {
        left: 100%;
    }
}

/* Skeleton boyutları */
.skeleton-img {
    width: 56px;
    /* .size-14 den uyumlu */
    height: 56px;
}

.skeleton-text {
    width: 120px;
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-text-small {
    width: 80px;
    height: 0.8em;
}

.skeleton-button {
    width: 200px;
    height: 1em;
}

.oppo:hover .oppo-hover {
    display: block !important;
}

.gradient-aside {
    height: calc(100vh - 6rem);
    overflow-y: auto;

    background: linear-gradient(135deg,
            rgba(13, 94, 201, 0.9) 10%,
            rgba(28, 182, 248, 0.9) 100%);
    /* url('../image/bg-navbar.png') center/cover no-repeat; */

    a,
    button {
        color: white;
        opacity: 0.8;
    }

    .active {
        opacity: 1;
    }
}

/* width */
.gradient-aside::-webkit-scrollbar {
    width: 6px;
    height: 1px;
}

/* Track */
.gradient-aside::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.gradient-aside::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}

.gradient-aside:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.7);
}

.accordion-content {
    interpolate-size: allow-keywords;
}

.collapsible-menu {
    display: block;
}

@media screen and (max-width: 1023.98px) {
    .collapsible-menu:not(.show) {
        display: none;
    }
}

@media screen and (max-width: 575.98px) {
    .ozelBoyut {
        width: 340px;
    }
}

@media screen and (min-width: 576px) {
    .ozelBoyut {
        width: 540px;
    }
}

@media screen and (min-width: 1024px) {
    .aside-padding {
        padding-left: 21rem;
    }

    .ozelBoyut {
        width: 720px;
    }
}

.dot-flashing {
    position: relative;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background-color: #111827;
    color: #111827;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}

.dot-flashing::before,
.dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
}

.dot-flashing::before {
    left: -7.5px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #111827;
    color: #111827;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
}

.dot-flashing::after {
    left: 7.5px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #111827;
    color: #111827;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes dot-flashing {
    0% {
        background-color: #111827;
    }

    50%,
    100% {
        background-color: #f3f4f6;
    }
}

.bg-motif {
    background: url('../image/motif.png');
    background-size: 40px;
    background-repeat: repeat;
}

.ozelanimasyon {
    position: relative;
    overflow: hidden;
    width: 49px;

    svg {
        animation: ozelAnimasyon 1s infinite;
        position: absolute;
        left: 0;
        bottom: 0;
    }
}

@keyframes ozelAnimasyon {
    0% {
        left: 0;
        bottom: 0;
    }

    100% {
        left: 100%;
        bottom: 100%;
    }
}

.iframe iframe {
    width: 100%;
    height: 100%;
    max-height: 450px;
    min-height: 350px;
}

/* Editor Gösterim İçin Varsayılan Stil Ayarları */
.editor-gosterim {
    font-size: 14px;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #111827;
    }

    p {
        color: rgba(17, 24, 39, .9);
        margin-bottom: .7rem !important;
    }

    ul,
    ol {
        margin: 0 0 1em 1.5em;
        padding-left: 1.5em;
    }

    ul {
        list-style-type: disc;
    }

    ol {
        list-style-type: decimal;
    }

    /* Liste Elemanları */
    li {
        margin-bottom: 0.25em;
    }

    /* Blok Alıntılar */
    blockquote {
        margin: 0 0 1em;
        padding-left: 1em;
        border-left: 4px solid #ccc;
    }

    /* Resimler */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Bağlantılar */
    a {
        text-decoration: underline;
        text-decoration: inherit;
    }

    p {
        margin-bottom: 0;
    }
}

/* Başlıklar */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.75em 0;
}

h3 {
    font-size: 1.17em;
    margin: 0.83em 0;
}

h4 {
    font-size: 1em;
    margin: 1.12em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.5em 0;
}

h6 {
    font-size: 0.67em;
    margin: 1.67em 0;
}

/* Paragraflar */
p {
    margin: 0 0 1em;
}

.wheel {
    animation: wheel 1s linear infinite;
}

@keyframes wheel {
    to {
        transform: rotate(1turn);
    }
}

.ping {
    animation: ping 1.75s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    padding: 0;
}

.campaign {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: red;
    color: white;
    padding: 4px 32px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%) rotate(-45deg);
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
}

.campaign-2 {
    position: absolute;
    top: 33px;
    left: 33px;
    background-color: blue;
    color: white;
    padding: 4px 32px;
    font-size: 10px;
    font-weight: bold;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-top-left-radius: 999px;
    border-top-right-radius: 999px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-shimmer {
    background-size: 100% 100%;
    animation: shimmer 2.5s linear infinite;
}

/*

  inline-flex
  items-center
  justify-center
  px-3 py-2
  rounded
  font-semibold
  text-xs
   uppercase
    tracking-widest
     shadow-sm
     transition
     ease-in-out
     duration-150
     focus:outline-none
     focus:ring-2
     focus:ring-offset-2
     text-gray-700
     bg-white
     hover:bg-gray-50 border border-gray-200
     focus:ring-gray-300

  */
.buttons-collection {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.325rem 0.75rem !important;
    margin-top: .1rem !important;
    border-radius: 0.25rem !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 150ms ease-in-out !important;
    outline: none !important;
    color: #374151 !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    background: none !important;
}

.buttons-collection:hover {
    background-color: #f9fafb !important;
}

.buttons-collection:focus {
    box-shadow: 0 0 0 2px #d1d5db !important;
    outline: none !important;
}

.dt-length select.input-sm {
    line-height: 15px !important;
    color: #000;
}

div.dt-container div.dt-layout-row {
    margin: 0 0 1rem !important;
}

table th {
    font-weight: 500;
    font-size: 1rem !important;
}

table#dataTable th,
table#dataTable td {
    text-align: left;
    white-space: nowrap;
}

table#dataTable td:nth-child(3) {
    white-space: normal !important;
}

.pagination>li>a,
.pagination>li>span {
    padding: .25rem .5rem !important;
    font-size: .7rem
}

.dt-info {
    font-size: .7rem
}

div.dt-container div.dt-search input {
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #4a5568;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

div.dt-container div.dt-layout-row div.dt-layout-cell {
    padding: 0 !important;
}

tr.group,
tr.group:hover {
    background-color: #f3f4f6 !important;
}

select.text-capitalize option {
    text-transform: capitalize !important;
}

[data-direction] {
    &.default::after {
        border-right: 6px solid #fff;
    }

    &.blue::after {
        border-left: 6px solid #3b82f6;
    }

    &.green::after {
        border-left: 6px solid #31c48d;
    }

    &.violet::after {
        border-left: 6px solid #8b5cf6;
    }

    &.red::after {
        border-left: 6px solid #f05252;
    }
}

[data-direction="right"]::after {
    content: "";
    position: absolute;
    top: -3.925px;
    right: -4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    transform: rotate(225deg);
    /* bg-blue-500 */
}

[data-direction="left"]::after {
    content: "";
    position: absolute;
    top: -3.925px;
    left: -4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #e5e7eb;
    transform: rotate(135deg);
    /* bg-gray-100 */
}

.text-xxs {
    font-size: 0.625rem !important;
}

.table {
    margin-bottom: 0 !important;
    border-color: #f3f4f6;


    &.table-bordered th,
    &.table-bordered td {
        border-color: #f3f4f6;
    }

    thead>tr>th {
        border-bottom-width: 1px !important;
    }
}

.dashboard-card {
    background-image: url('../image/orman.jpeg');
    background-size: cover;
    background-position: center;
}
