[x-cloak] {
    display: none !important;
}

body {
    background-color: #f8fafc;
    -webkit-tap-highlight-color: transparent;
}

/* --- EDİTÖR İÇİ VE DIŞI GÖRÜNÜM AYARLARI (GÜNCELLENDİ) --- */
/* Hem yazı yazarken (.ql-editor) hem okurken (.ql-editor-display) aynı görünsün */

/* BAŞLIKLAR (Stil 1, 2, 3) */
.ql-editor h1,
.ql-editor-display h1,
.ql-editor h2,
.ql-editor-display h2,
.ql-editor h3,
.ql-editor-display h3 {
    color: #C1A35F !important;
    /* İSTEDİĞİN RENK BURADA */
    font-weight: 800 !important;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    line-height: 1.2;
}

/* METİN BOYUTLARI */
.ql-editor .ql-size-small,
.ql-editor-display .ql-size-small {
    font-size: 0.75em;
}

.ql-editor .ql-size-large,
.ql-editor-display .ql-size-large {
    font-size: 1.5em;
}

.ql-editor .ql-size-huge,
.ql-editor-display .ql-size-huge {
    font-size: 2.5em;
}

/* HİZALAMALAR */
.ql-editor .ql-align-center,
.ql-editor-display .ql-align-center {
    text-align: center;
}

.ql-editor .ql-align-right,
.ql-editor-display .ql-align-right {
    text-align: right;
}

.ql-editor .ql-align-justify,
.ql-editor-display .ql-align-justify {
    text-align: justify;
}

/* LİSTELER */
.ql-editor ul,
.ql-editor-display ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.ql-editor ol,
.ql-editor-display ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

/* GENEL METİN */
.ql-editor p,
.ql-editor-display p {
    color: #334155;
    line-height: 1.6;
}

/* --- EDİTÖR ARAYÜZÜ TÜRKÇELEŞTİRME --- */

/* 1. Boyut Seçimi */
.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
    content: 'Normal';
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
    content: 'Küçük' !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
    content: 'Büyük' !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
    content: 'Çok Büyük' !important;
}

/* 2. Başlık Seçimi (Heading -> Stil) */
.ql-snow .ql-picker.ql-header .ql-picker-label::before,
.ql-snow .ql-picker.ql-header .ql-picker-item::before {
    content: 'Normal Metin';
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    content: 'Stil 1' !important;
}

/* h1 */
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: 'Stil 2' !important;
}

/* h2 */
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: 'Stil 3' !important;
}

/* h3 */

/* --- DİĞER TASARIMLAR --- */
.ql-container {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem;
}

.ql-toolbar.ql-snow {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-color: #e2e8f0;
    background-color: #f8fafc;
}

.ql-container.ql-snow {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-color: #e2e8f0;
    background-color: #fff;
    min-height: 150px;
}

.form-input {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: #C1A35F;
    box-shadow: 0 0 0 1px #C1A35F;
}

.form-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

/* Instagram Modal vb. */
.insta-modal {
    width: 100%;
    max-width: 900px;
    height: 85vh;
    background: #fff;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.insta-media {
    flex: 1.5;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta-media img,
.insta-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.insta-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #efefef;
}

.insta-header {
    padding: 1rem;
    border-bottom: 1px solid #efefef;
    display: flex;
    align-items: center;
    gap: 12px;
}

.insta-comments {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #fff;
}

.insta-actions {
    border-top: 1px solid #efefef;
    padding: 0.75rem 1rem;
}

.insta-input-area {
    border-top: 1px solid #efefef;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.comment-bubble {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: flex;
    gap: 10px;
}

.comment-avatar {
    width: 2rem;
    height: 2rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-user {
    font-weight: 700;
    margin-right: 6px;
    color: #1e293b;
}

.comment-date {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .insta-modal {
        flex-direction: column;
        height: 100vh;
        border-radius: 0;
    }

    .insta-media {
        flex: 1;
        max-height: 50vh;
    }

    .insta-details {
        flex: 1;
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.custom-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    background-color: white;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox:checked {
    background-color: #C1A35F;
    border-color: #C1A35F;
}

.custom-checkbox:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}