@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Temel Ayarlar --- */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

[x-cloak] {
    display: none !important;
}

.font-numeric {
    font-variant-numeric: tabular-nums;
}

/* --- Özel Modal Tasarımı (Pop-up Burası) --- */

/* Arka Plan Karartma (Sayfanın tamamını kaplar) */
.custom-modal-backdrop {
    position: fixed;   /* EKRANA SABİTLEME KODU */
    inset: 0;
    z-index: 60;       /* EN ÜSTTE DURMASI İÇİN */
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;     /* İÇİNDEKİNİ ORTALAMASI İÇİN */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

/* Modal Kutusu (Ortadaki Beyaz/Siyah Kutu) */
.custom-modal-content {
    position: relative;
    width: 100%;
    max-width: 24rem; /* max-w-sm */
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Gölgeyi artırdım */
    overflow: hidden;
    transform: scale(1);
    animation: scaleUp 0.2s ease-out cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    padding: 1.5rem;
}

/* Karanlık Mod Uyumu */
.dark .custom-modal-content {
    background-color: #111827; /* gray-900 */
    border: 1px solid #1f2937; /* gray-800 */
    color: white;
}
.light .custom-modal-content {
    background-color: white;
    color: #111827;
}

/* İkon Alanı */
.modal-icon-wrapper {
    margin: 0 auto 1rem auto;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dark .modal-icon-wrapper { background-color: rgba(220, 38, 38, 0.2); }
.light .modal-icon-wrapper { background-color: #fee2e2; }

/* Buton Grubu */
.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    border-width: 1px;
    cursor: pointer;
}
.dark .btn-cancel { border-color: #374151; color: #d1d5db; background: transparent; }
.dark .btn-cancel:hover { background-color: #1f2937; }
.light .btn-cancel { border-color: #e5e7eb; color: #374151; background: transparent; }
.light .btn-cancel:hover { background-color: #f9fafb; }

.btn-delete {
    flex: 1;
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: white;
    background-color: #dc2626; /* red-600 */
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-delete:hover {
    background-color: #b91c1c; /* red-700 */
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}