body { 
    font-family: 'Inter', sans-serif; 
}
.fade-in { 
    animation: fadeIn 0.5s ease-in-out; 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.sidebar-link.active { 
    background-color: #1f2937; 
    color: white; 
}
.save-button { 
    animation: pulse 2s infinite; 
}
@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.8; transform: scale(1.05); } 
}

/* Birleştirilmiş Animasyon Tanımları */
.animation-fade-in { animation: fadeIn 1s ease-in-out forwards; }
.animation-slide-in-left { animation: slideInLeft 1s ease-in-out forwards; }
.animation-slide-in-right { animation: slideInRight 1s ease-in-out forwards; }
.animation-slide-in-up { animation: slideInUp 1s ease-in-out forwards; }
.animation-zoom-in { animation: zoomIn 1s ease-in-out forwards; }

/* Ortak Keyframes */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.ql-toolbar.ql-snow { border-radius: 0.5rem 0.5rem 0 0; border-color: #d1d5db; }
.ql-container.ql-snow { border-radius: 0 0 0.5rem 0.5rem; border-color: #d1d5db; min-height: 250px; }
.custom-toggle:checked ~ .dot { transform: translateX(1.5rem); }
.custom-toggle:checked ~ .bg-gray-200 { background-color: #3B82F6; }
.star-rating { display: inline-flex; color: #f59e0b; }

/* Tema Önizleme Stilleri İyileştirmesi */
#theme-preview .pv-body {
    padding-left: 1rem;
    padding-right: 1rem;
}
#theme-preview .pv-body > .p-4 > div:not(:first-child) {
    margin-top: calc(var(--section-gap) / 2); /* Önizlemede boşluğu biraz azalt */
}
@media (min-width: 768px) {
    #theme-preview .pv-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    #theme-preview .pv-body > .p-4 > div:not(:first-child) {
        margin-top: var(--section-gap);
    }
}
#theme-preview .pv-chip {
    display: inline-block;
}

/* Lisans Modalı Stilleri */
.license-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.license-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}
.license-modal-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.license-modal-overlay:not(.hidden) .license-modal-container {
    transform: scale(1);
}
#license-message.success {
    background-color: #dcfce7;
    color: #166534;
}
#license-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* İndirme Bekleme Modalı Stilleri */
.download-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.download-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}
.download-container {
    text-align: center;
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 500px;
}
.progress-bar {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 1rem;
    overflow: hidden;
}
.progress-bar-inner {
    height: 100%;
    width: 0;
    background-color: #3b82f6;
    border-radius: 9999px;
    transition: width 0.4s ease;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}
@keyframes progress-bar-stripes {
    from { background-position: 1rem 0; }
    to { background-position: 0 0; }
}