/* Özel CSS Stilleri */

/* Smooth Transitions - sadece gerekli elementlere */
a, button, input, select, textarea, .card-hover {
  transition: all 0.2s ease-in-out;
}

/* ===== GLOBAL MOBİL STİLLER ===== */

/* Mobil Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 24px;
  color: #374151;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }
  
  .nav-links.active {
    display: block !important;
  }
  
  .nav-links-inner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    animation: slideInRight 0.25s ease-out;
  }
  
  @keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  
  .nav-links-inner .nav-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 0.5rem;
  }
  
  .nav-links-inner a,
  .nav-links-inner button:not(.nav-close-btn) {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }
  
  .nav-links-inner a:hover,
  .nav-links-inner button:not(.nav-close-btn):hover {
    background: #f3f4f6;
  }
  
  .nav-links-inner .nav-user-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .nav-links-inner .nav-user-info p {
    padding: 0.25rem 1rem;
  }
  
  /* Header mobil düzeni */
  header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  header h1 {
    font-size: 1.125rem !important;
  }
  
  header img {
    height: 2rem !important;
  }
  
  /* Container padding mobil */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Modal mobil uyum */
  .fixed.inset-0 > div {
    margin: 0.5rem;
    max-height: 95vh;
    overflow-y: auto;
  }
  
  /* Genel metin boyutu */
  .text-3xl {
    font-size: 1.5rem !important;
  }
  
  .text-2xl {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  header h1 {
    font-size: 1rem !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* Loading Spinner */
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Card Hover Effect */
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Table */
@media (max-width: 768px) {
  .responsive-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Yardım butonu mobilde küçük */
  .help-button {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
  
  /* Toast mobilde tam genişlik */
  .toast {
    left: 1rem !important;
    right: 1rem !important;
    max-width: none !important;
  }
}

/* ===== TUTORIAL / INTRO.JS STİLLERİ ===== */

/* Özel Tooltip Stili */
.introjs-tooltip {
  max-width: 400px !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.introjs-tooltip-header {
  padding: 15px 20px 10px !important;
  border-bottom: 1px solid #eee;
}

.introjs-tooltiptext {
  padding: 15px 20px !important;
}

.tutorial-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.tutorial-content p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 5px;
}

.tutorial-content ul {
  margin-top: 10px;
  padding-left: 20px;
}

.tutorial-content li {
  color: #4a5568;
  margin-bottom: 5px;
}

/* Butonlar */
.introjs-button {
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  border: none !important;
  transition: all 0.2s !important;
}

.introjs-nextbutton {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: white !important;
}

.introjs-nextbutton:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  transform: translateY(-1px);
}

.introjs-prevbutton {
  background: #f3f4f6 !important;
  color: #374151 !important;
}

.introjs-prevbutton:hover {
  background: #e5e7eb !important;
}

.introjs-skipbutton {
  color: #9ca3af !important;
  font-weight: 500 !important;
}

.introjs-skipbutton:hover {
  color: #ef4444 !important;
}

.introjs-donebutton {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
}

.introjs-donebutton:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* Progress Bar */
.introjs-progress {
  background: #e5e7eb !important;
  height: 6px !important;
  border-radius: 3px !important;
}

.introjs-progressbar {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6) !important;
  border-radius: 3px !important;
}

/* Bullets */
.introjs-bullets ul li a {
  background: #d1d5db !important;
  width: 10px !important;
  height: 10px !important;
}

.introjs-bullets ul li a.active {
  background: #3b82f6 !important;
  width: 24px !important;
  border-radius: 5px !important;
}

/* Highlight */
.introjs-helperLayer {
  border-radius: 8px !important;
  box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.6) !important;
}

.custom-highlight {
  border: 3px solid #3b82f6 !important;
  border-radius: 8px !important;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

/* Step Numbers */
.introjs-helperNumberLayer {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  text-align: center !important;
  font-size: 14px !important;
  border: 2px solid white !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Yardım Butonu */
.help-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
  color: white;
  font-size: 24px;
}

.help-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.help-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: help-pulse 2s infinite;
  z-index: -1;
}

@keyframes help-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer:not(.hidden) {
  max-height: 500px;
}
