.container-fluid {
    width: 100%;
    max-width: calc(100vw - 10%);
    margin: 0 auto;
}
.nav-pills .nav-link {
    border-radius: 0.25rem;
    color: #373737;
    background-color: #cecece;
    margin: 5px;
}

.fixed-start-send {
    position: fixed;
    top: 20%;
    right: 60px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background:#31c9e8;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1040;
}
.fixed-save {
    position: fixed;
    top: 80%;
    right: 60px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1040;
    
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfa minimum yüksekliği */
    padding-top: 100px; /* Navbar yüksekliğine göre ayarla */
    padding-bottom: 90px; /* Navbar yüksekliğine göre ayarla */
}

footer {
    margin-top: auto; /* İçerik kısa olsa bile footer en alta yapışır */
}

svg.navbar-brand-img {
    fill: #0f1e67;
}

.custom-navbar {
    position: fixed;       /* Sayfada sabit */
    top: 20px;             /* Üstten boşluk */
    left: 50%;             /* Ortalamak için */
    transform: translateX(-50%);
    width: 90%;            /* Menü genişliği */
    z-index: 1030;         /* Bootstrap navbar’dan yukarıda */
    border-radius: 10px;   /* İsteğe bağlı, köşeler yuvarlak */
    transition: all 0.3s ease;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 90%;               /* Footer genişliği %90 */
    z-index: 1030;
    border-radius: 10px;
    padding: 15px 20px;
    background: #0f1e67;
    color: #ffffff;
    transform: translate(-50%, 100%); /* Başlangıçta gizli */
    transition: transform 0.5s ease; /* Animasyon */
}

.pricing-box {
    -webkit-box-shadow: 0px 5px 30px -10px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 5px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 35px 50px;
    border-radius: 6px;
    position: relative;
    background-color: #ffffff;
}

.pricing-box .plan {
    font-size: 34px;
}

.pricing-badge {
    position: absolute;
    top: 0;
    z-index: 999;
    right: 0;
    width: 100%;
    display: block;
    font-size: 15px;
    padding: 0;
    overflow: hidden;
    height: 100px;
}

.pricing-badge .badge {
    float: right;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    right: -67px;
    top: 17px;
    position: relative;
    text-align: center;
    width: 200px;
    font-size: 13px;
    margin: 0;
    padding: 7px 10px;
    font-weight: 500;
    color: #ffffff;
    background: #fb7179;
}

.pricing-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*
.pricing-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.15);
}
*/

.badge {
    font-size: 95%;
}

.card {
    position: relative;
    overflow: hidden;
}

.card .copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    transform: scale(0.9);
}

.card:hover .copy-btn {
    opacity: 1;
    transform: scale(1);
}

.scroll-box {
    max-height: 600px; /* yüksekliği sabitle */
    overflow-y: auto; /* dikey scroll */
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 5px;
    background: #f8f9fa;
}
.task-card {
    margin-bottom: 15px;
}


.blink {
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    0% { background-color: transparent; }
    50% { background-color: yellow; }
    100% { background-color: transparent; }
}


@media (max-width: 767.98px) {
  /* Sadece responsive-table class'ına sahip tablolar için */
  table.responsive-table {
    width: 100%; /* Container kadar genişle */
    border: 0;
    box-sizing: border-box; /* Padding/border hesaplamasını düzgün yap */
  }
  table.responsive-table thead {
    display: none; 
  }
  table.responsive-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: .5rem;
    padding: .5rem;
  }
  table.responsive-table td {
    display: block;
    text-align: right;
    font-size: .9rem;
    border: none !important;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    box-sizing: border-box; /* Taşmayı önler */
  }
  table.responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: .5rem;
    width: 45%;
    text-align: left;
    font-weight: bold;
    color: #555;
  }
  table.responsive-table td:last-child {
    border-bottom: 0;
  }
}



@media (max-width: 575.98px) {
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


.code-editor-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.code-editor-wrapper textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    background-color: #f9f9f9;
    overflow: auto;
    box-sizing: border-box;
}

.code-editor-wrapper button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.code-editor-wrapper button:hover {
    background-color: #0056b3;
}

.admin-fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #0e1f66;
  color:#ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1040;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-fixed-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.admin-fixed-btn a {
  color: #444; /* ikon rengi */
  text-decoration: none;
  font-size: 22px;
}



/* Sadece mobilde göster (örnek: max 768px) */
@media (max-width: 768px) {
  .mobile-fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #0e1f66;
    color:#ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1040;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-fixed-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .mobile-fixed-btn a {
    color: #444; /* ikon rengi */
    text-decoration: none;
    font-size: 22px;
  }
}

/* Masaüstünde gizle */
@media (min-width: 769px) {
    .mobile-fixed-btn {
        display: none;
    }
}


.ripple-span {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 9999;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


@media (max-width: 767.98px) {
  .bs-stepper-header .bs-stepper-label {
    display: none; /* Mobilde metinleri gizle */
  }

  .bs-stepper-header .bs-stepper-circle {
    width: 36px;
    height: 36px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bs-stepper-header {
    justify-content: space-between;
  }

  .bs-stepper-header .step {
    flex: 1;
    text-align: center;
  }
}


/* Genel yapı */
.support-modal-content {
    display: flex;
    flex-direction: column;
    height: 70vh;
    width: 50vw;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
}

/* Masaüstü için modal tam ortada */
#supportModal .modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* yatay ortalama */
  width: 50vw;
}

/* Mobilde tam ekran görünüm */
@media (max-width: 768px) {
  #supportModal .modal-dialog {
    margin: 0;
    width: 100%;
    height: 100vh;
    max-width: none;
    display: block; /* mobilde flex'e gerek yok */
  }
  #supportModal .modal-content.support-modal-content {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  #supportModal .modal-body {
    flex: 1;
    overflow: hidden;
  }
  #supportModal iframe {
    height: calc(100vh - 56px);
  }
}

/* Masaüstü için düzgün oran ve iframe yüksekliği */
@media (min-width: 769px) {
  #supportModal iframe {
    height: calc(70vh - 56px);
  }
}

/* Basit sabit indirme bildirimi */
#downloadStatus {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.spin {
  display: inline-block;               /* transform etkilesin diye */
  transform-origin: 50% 50%;           /* merkez etrafında döndür */
  animation: spin 1s linear infinite;  /* 1s’de bir tam tur, sürekli */
  will-change: transform;              /* performans için öneri */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Kullanıcılar hareketten kaçınmak isterse */
@media (prefers-reduced-motion: reduce) {
  .spin {
    animation: none;
  }
}


.light-animation {
  position: relative;
  overflow: hidden;
}

.light-animation::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%; /* ışık genişliği */
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.7), transparent);
  transform: translateX(-100%);
  animation: slide-light 2s linear infinite;
}

@keyframes slide-light {
  0% { left: -50%; }
  100% { left: 100%; }
}
