@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Global Mobil İyileştirmeler */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sayfa Geçiş Animasyonu */
@keyframes page-enter-animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-enter-active {
  animation: page-enter-animation 0.4s ease-out forwards;
}

/* Akordiyon Animasyonları */
.accordion-content, .sub-accordion-content {
  transition: max-height 0.4s ease-in-out;
}

/* Pazarlama Sayfası - Mobil Navigasyon Menüsü */
@media (max-width: 767px) {
    #mobile-menu {
        transition: max-height 0.3s ease-in-out;
        max-height: 0;
        overflow: hidden;
    }
    #mobile-menu.is-open {
        max-height: 500px; /* Adjust as needed */
    }
}

/* Yönetim Paneli - Responsive Tablo Stilleri */
@media (max-width: 767px) {
    .responsive-table thead {
        display: none;
    }
    .responsive-table .responsive-row {
        display: block;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb; /* gray-200 */
        overflow: hidden;
        background-color: #fff;
    }
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        text-align: right;
        border-bottom: 1px solid #f3f4f6; /* gray-100 */
    }
    .responsive-table td:last-child {
        border-bottom: 0;
    }
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600; /* semibold */
        font-size: 0.875rem; /* text-sm */
        color: var(--color-primary);
        margin-right: 1rem;
        text-align: left;
    }
    /* İşlemler sütunu için özel stil */
    .responsive-table td[data-label="İşlemler"] {
        justify-content: center;
        padding: 1rem;
    }
     .responsive-table td[data-label="İşlemler"] > div {
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }
}

/* Kampanya Sayfası - Karşılaştırma Çubuğu Mobil Stilleri */
@media (max-width: 767px) {
    #compare-bar {
        padding: 0.75rem; /* 12px */
    }
    #compare-count {
        font-size: 0.875rem; /* text-sm */
    }
    #compare-now-btn {
        padding: 0.5rem 1rem; /* py-2 px-4 */
        font-size: 0.875rem; /* text-sm */
    }
}

/* YENİ: İskelet (Skeleton) Arayüz Stilleri */
.skeleton-card {
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 0.5rem; /* rounded-lg */
    animation: skeleton-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-line {
    background-color: #d1d5db; /* gray-300 */
    border-radius: 0.25rem; /* rounded-md */
    animation: skeleton-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* YENİ: Filigran / Watermark Stili */
#root {
    position: relative;
    z-index: 0; /* Creates a stacking context */
}

#root::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='p' patternUnits='userSpaceOnUse' width='250' height='180' patternTransform='rotate(-45)'%3e%3ctext x='0' y='80' font-family='Inter, sans-serif' font-size='28' font-weight='600' fill='black'%3eDaXa%3c/text%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23p)' /%3e%3c/svg%3e");
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}