@layer tailwind-base, primereact, tailwind-utilities;

/* IMPORTANT: In "styled" mode you must add the PrimeReact Theme here. Do NOT include in "unstyled" mode */

@layer tailwind-base {
    @tailwind base;
}

@layer tailwind-utilities {
    @tailwind components;
    @tailwind utilities;
}

.layers-deneme {
    position: absolute;
    top: 76px;
    right: 160px;
    z-index: 1000;
}
.layers-deneme.p-togglebutton.p-highlight div.p-button {
    padding: 7px !important;
    border-radius: 6px;
    background-color: #303336 !important;
    border-color: #303336;
}
.layers-deneme.p-togglebutton div.p-button {
    background-color: var(--red-500) !important;
    padding: 7px !important;
    border-radius: 6px;
    border-color: #303336;
}

.coordinates-not-found-button {
    position: absolute;
    top: 76px;
    right: 250px;
    z-index: 1000;
    display: none;
}
.hidden-toggle div {
    border-radius: 50%;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    text-shadow: none;
}
.hidden-toggle .p-togglebutton-input:hover {
    background-color: #4f46e5;
    opacity: 0.1;
    border-radius: 50%;
    box-shadow: none;
}
.hidden-toggle .p-inputtext,
.p-togglebutton,
.p-selectbutton,
.p-inputgroup {
    box-shadow: none;
}
.hidden-toggle .p-togglebutton-input {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: none;
    text-shadow: none;
}

.lang-toggle div {
    border-radius: 10%;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #00b3a4;
    text-shadow: none;
}
.lang-toggle .p-togglebutton-input:hover {
    background-color: #00b3a4 !important;
    opacity: 0.1;
    border-radius: 10%;
    box-shadow: none;
}
.lang-toggle .p-inputtext,
.p-togglebutton,
.p-selectbutton,
.p-inputgroup {
    box-shadow: none;
}
.lang-toggle .p-togglebutton-input {
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: none;
    text-shadow: none;
}

.sidebar-button-deneme {
    position: absolute;
    margin-top: 1rem;
    z-index: 2005 !important;
}

.sidebar-button-deneme .p-button.p-component {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.sidebar-button-deneme.p-highlight .p-button.p-component {
    background-color: var(--red-500);
    border-color: var(--red-500);
}

.standarts {
    filter: grayscale(100%);
}

.standarts:hover {
    filter: grayscale(0%);
}

.profile-edit {
    left: 25%;
    top: 5%;
    width: 61rem;
}

.example-icon {
    background-image: url('/layout/images/exampleIcon.png');
    background-size: cover;
    /* Resmi kaplamasını sağlar */
    width: 50px;
    /* Resmin genişliği */
    height: 50px;
    /* Resmin yüksekliği */
    display: inline-block;
}

.low-price {
    background-color: #3b82f6;
}

.low-price:hover {
    background-color: #326fd1;
}

.high-price {
    background-color: #22c55e;
}

.high-price:hover {
    background-color: #1da750;
}

.money-button button[disabled] {
    background-color: grey;
}
.term-checkbox {
    width: 16px;
    height: 16px;
}

.term-checkbox input {
    border: 2px solid #d4d4d8;
    background: #ffffff;
    color: #3f3f46;
    border-radius: 0.375rem;
    transition: none;
}
.term-checkbox div {
    display: none;
}

.sidebar {
    position: fixed;
    z-index: 1000;
    background-color: #ffffff;
    top: 0;
    transition: transform 0.3s ease;
    overflow-y: hidden;
    left: 0;
    display: inline-table; /* Görünürlüğü sağlamak için eklendi */
}

.sidebar.close {
    transform: translateX(-100%);
}

.sidebar.visible {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.sidebar-content {
    padding: 1rem;
}

.header-icons {
    cursor: pointer;
}

.resizer {
    width: 8px;
    background-color: #ccc;
    cursor: ew-resize;
    position: absolute;
    top: 0;
    user-select: none;
    right: 0;
    bottom: 0;
    z-index: 10;
}
.resizer:hover {
    width: 8px;
    background-color: #f0ecec;
    cursor: ew-resize;
    position: absolute;
    top: 0;
    user-select: none;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -20px; /* Sidebar'ın dışına çıkacak şekilde ayarlandı */
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    color: white;
    font-size: 45px;
    text-align: center;
    line-height: 80px;
    z-index: 1001; /* Butonun diğer öğelerin üstünde görünmesi için */
    transition: right 0.3s ease;
}

.sidebar-toggle.open {
    right: -30px; /* Sidebar açıkken sağda görünsün */
}

.sidebar-toggle.closed {
    right: -30px; /* Sidebar kapalıyken sağda gizlenir */
}

@media screen and (max-width: 991px) {
    .topbar-menu {
        background-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .standarts {
        width: 25rem;
        height: 18rem;
    }

    .standart-grid {
        overflow-y: scroll;
    }

    .main-image {
        display: none;
    }

    .converter-image {
        width: 20rem;
        height: 15rem;
    }

    .metadata-image {
        width: 20rem;
        height: 15rem;
    }

    .profile-edit {
        left: 5%;
        width: 20rem;
    }
}

.viewer-drop-container {
    position: relative;
    height: 100vh; /* Yükseklik tamamen ekranı kaplayacak */
    overflow: hidden;
}

.viewer-drag-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah arkaplan */
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 24px;
    width: 100vw;
    height: 100vh;
    text-align: center;
    z-index: 9999999;
}

.viewer-drag-overlay p {
    margin: 0;
}

.tab {
    border: none;
    background: #fff;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #000000;
    transition:
        color 0.3s ease,
        border-bottom-color 0.3s ease,
        transform 0.2s ease;
}

.tab.active {
    border-top: 6px solid #00b3a4;
    color: #00b3a4;
    transform: scale(1.05); /* Tab hafif büyüsün */
}

.tab-content {
    opacity: 0;
    transform: translateX(20px); /* Başlangıç pozisyonu */
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute; /* Üst üste binen içerik için */
    width: 100%; /* İçeriği tam genişletmek için */
}

.tab-content.active {
    opacity: 1;
    transform: translateX(0); /* Hedef pozisyon */
    position: relative; /* Aktif içerik için */  
    color: #00b3a4;
}
.tab-content.fade-out {
    opacity: 0;
    transform: translateX(-20px); /* Geri çekilme efekti */
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.video-container {
    cursor: none; /* Varsayılan cursor'u gizle */
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
}

.custom-cursor {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Cursor'un tıklamaya engel olmaması için */
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-in-out; /* Smooth hareket */
}

/* Video stil */
.video-container video {
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}
.pricing-stepper.p-stepper .p-stepper-header:has(~ .p-highlight) .p-stepper-separator {
    background-color: #00b3a4;
}
.p-stepper.p-stepper-header.p-highlight .p-stepper-number {
    background-color: #00b3a4;
    color:white;
}
.pricing-stepper.p-stepper .p-stepper-header .p-stepper-action {
    background: #f5f5f5;
}
/* Animasyonlar */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
html {
    scroll-behavior: smooth;
}