/* Genel Stil */
html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.topbar {
  background: linear-gradient(to right, #0062E6, #33AEFF);
  height: 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-brand {
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.topbar-brand:hover {
  color: rgba(255, 255, 255, 0.9);
}

.topbar-brand img {
  height: 32px;
  margin-right: 8px;
}

.topbar-logo {
  height: 36px;
}

.topbar-user {
  color: white;
  margin-right: 1rem;
}

.dropdown-menu {
  margin-top: 0.5rem;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 48px;
  left: 0;
  bottom: 0;
  width: 250px;
  background: linear-gradient(to bottom, #0062E6, #33AEFF); /* Topbar ile uyumlu arka plan */
  z-index: 1020;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* Daha yumuşak geçiş */
  transform: translateX(-195px); /* 55px görünür bırakır (ikonlar için) */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.sidebar:hover {
  transform: translateX(0);
}

.sidebar-header {
  padding: 1.5rem 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sidebar:not(:hover) .sidebar-header {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff; /* Beyaz başlık rengi */
  letter-spacing: 0.5px;
}

.sidebar-title i {
  margin-right: 8px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sidebar:not(:hover) .sidebar-menu {
  margin-top: 2rem; /* Başlık gizli olduğunda daha fazla boşluk */
}

.sidebar-item {
  margin-bottom: 0.25rem;
  padding-left: 20px;
  position: relative;
}

.sidebar-item:hover {
  margin-bottom: 0.25rem;
  padding-left: 0;
  position: relative;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8); /* Beyaza yakın metin rengi */
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #ffffff;
}

.sidebar-link i {
  width: 30px;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  text-align: center;
  color: #ffffff; /* Beyaz ikon rengi - daha parlak */
  transition: all 0.3s ease;
}

.sidebar:not(:hover) .sidebar-link span {
  opacity: 0;
  display: none;
}

.sidebar:not(:hover) .sidebar-link {
  padding-left: 20px; /* İkonlar için daha fazla alan */
  justify-content: center; /* İkonları tam ortala */
  padding-right: 0;
  margin-left: 150px; /* İkonları sağ tarafta göster */
}

.sidebar:not(:hover) .sidebar-link i {
  margin-right: 0;
  font-size: 1.4rem; /* Kapalıyken daha büyük ikonlar */
}

.sidebar-divider {
  height: 1px;
  margin: 1rem 0;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Content area */
.content-wrapper {
  margin-top: 48px;
  margin-left: 60px;
  flex: 1;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

/* Animations */
.animated {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation-name: fadeIn;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-250px);
  }
  
  .sidebar:hover {
    transform: translateX(0);
  }
  
  .content-wrapper {
    margin-left: 0;
  }

  .topbar-center {
    display: none;
  }
}

/* Footer */
.footer {
  padding: 1rem 0;
  background-color: #fff;
  border-top: 1px solid #e9ecef;
  text-align: center;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Modal Override - Z-index düzeltmeleri */
.modal-backdrop {
  z-index: 9000 !important;
  opacity: 0.7 !important;
}

.modal {
  z-index: 9500 !important;
  position: fixed !important;
  overflow-y: auto !important;
}

.modal-dialog {
  margin: 30px auto !important;
  max-width: 500px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
  transform: translate(0, 50px) !important;
  position: relative !important;
}

.modal-content {
  box-shadow: 0 5px 15px rgba(0,0,0,0.8) !important;
  border: none !important;
  border-radius: 10px !important;
  position: relative !important;
  background-color: white !important;
  background-clip: padding-box !important;
}

.modal-header {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  position: relative !important;
}

.modal-footer {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  position: relative !important;
}

.modal-open {
  overflow: hidden !important;
  padding-right: 15px !important;
}

/* DataTables fix */
.dataTables_wrapper {
  z-index: 100 !important; /* DataTables'ın z-index değeri düşük olsun */
}

/* Login ve Forgot Password Stilleri */
.auth-page {
  background: linear-gradient(to right, #003366, #0062E6); /* Lacivert ve mavi gradient */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.card-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 15px;
  z-index: 2;
}

.auth-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  padding: 2rem;
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h3 {
  color: #003366; /* Lacivert başlık rengi */
  font-weight: 600;
}

.auth-form .form-control {
  position: relative;
  border-radius: 8px;
  height: 48px;
  padding-left: 45px;
  transition: all 0.3s ease;
}

.auth-form .form-control:focus {
  border-color: #003366; /* Lacivert odaklanma rengi */
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.25);
}

.auth-form .input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.auth-form .input-group i {
  position: absolute;
  left: 15px;
  top: 16px;
  color: #6c757d;
  z-index: 10;
}

.btn-auth {
  border-radius: 8px;
  height: 48px;
  font-weight: 600;
  background: linear-gradient(to right, #003366, #0062E6); /* Lacivert buton */
  border: none;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  background: linear-gradient(to right, #002855, #0055cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 0.5rem;
}

.auth-link {
  color: #003366; /* Lacivert link rengi */
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: #0062E6;
  text-decoration: underline;
}

.register-link, .back-link {
  text-align: center;
  margin-top: 1.5rem;
}

/* Animasyon Elemanları */
.background-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.tire {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
  z-index: 1;
}

.tire:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  border: 15px solid rgba(255, 255, 255, 0.1);
}

.tire:nth-child(2) {
  width: 200px;
  height: 200px;
  top: calc(100% - 150px);
  left: calc(100% - 150px);
  border: 10px solid rgba(255, 255, 255, 0.1);
  animation-duration: 25s;
  animation-direction: reverse;
}

.tire:nth-child(3) {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 20px solid rgba(255, 255, 255, 0.05);
  animation-duration: 40s;
}

.rim {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: center;
  animation: pulse 5s ease-in-out infinite;
}

.rim:nth-child(4) {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 70%;
}

.rim:nth-child(5) {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

/* Dashboard Card Stilleri */
.dashboard-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-body {
  padding: 1.5rem;
}

.dashboard-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.dashboard-icon {
  font-size: 1.75rem;
}

.dashboard-card .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.dashboard-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
}

/* Custom Modal Stilleri */
.custom-modal {
  display: none; /* Varsayılan olarak gizli */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9999 !important;
  overflow-x: hidden;
  overflow-y: auto;
  transition: background-color 0.3s ease;
}

.custom-modal.show {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal .modal-dialog {
  margin: 40px auto;
  max-width: 500px;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}

.custom-modal.show .modal-dialog {
  transform: translateY(0);
}

.custom-modal .modal-content {
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Modal butonları */
.modal-footer .btn {
  padding: 8px 16px;
  border-radius: 5px;
}

.modal-footer .btn-primary {
  background-color: #0062E6;
  border-color: #0062E6;
}

.modal-footer .btn-primary:hover {
  background-color: #0056cc;
  border-color: #0056cc;
}

.modal-footer .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.modal-footer .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

/* Dashboard Stilleri */
.dashboard-container {
    padding: 15px 0;
    width: 100%;
}

.dashboard-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

.dashboard-quick-info {
    background-color: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.info-value {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

/* Metrik Kartları */
.metrics-row {
    margin-bottom: 1.5rem;
}

.metric-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.metric-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.metric-icon i {
    font-size: 1.5rem;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.metric-trend span {
    margin-left: 5px;
    color: #6c757d;
}

.metric-trend.up {
    color: #28a745;
}

.metric-trend.down {
    color: #dc3545;
}

.metric-trend.stable {
    color: #6c757d;
}

/* Dashboard Kartları */
.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.25rem 0.75rem;
}

.dashboard-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.dashboard-card .card-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

.dashboard-card .card-body {
    padding: 1.25rem;
}

/* Kaynak Durum Tablosu */
.source-status-table {
    font-size: 0.875rem;
}

.source-status-table th {
    font-weight: 600;
    color: #495057;
    border-top: none;
    border-bottom-width: 1px;
}

.source-status-table td {
    vertical-align: middle;
}

.source-status-table .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

/* Aktivite Timeline */
.activity-timeline {
    position: relative;
    padding: 0;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.activity-item {
    position: relative;
    padding: 1rem 1.25rem 1rem 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 5px;
    top: 1rem;
    z-index: 2;
}

.activity-icon i {
    font-size: 0.85rem;
    color: #fff;
}

.activity-icon.bg-success {
    background-color: #28a745;
}

.activity-icon.bg-warning {
    background-color: #ffc107;
}

.activity-icon.bg-danger {
    background-color: #dc3545;
}

.activity-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.activity-time {
    display: block;
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Hızlı Erişim Kartları */
.dashboard-quick-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.dashboard-quick-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.quick-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.quick-card-icon i {
    font-size: 1.5rem;
}

.quick-card-content {
    flex: 1;
}

.quick-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-card-content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Responsive Ayarlamalar */
@media (max-width: 767.98px) {
    .dashboard-header {
        text-align: center;
    }
    
    .dashboard-quick-info {
        margin-top: 1rem;
    }
    
    .metric-card {
        margin-bottom: 1rem;
    }
    
    .metric-icon {
        width: 40px;
        height: 40px;
    }
    
    .metric-icon i {
        font-size: 1.25rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
}

/* XML Çıktı Yönetimi Stilleri */
.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: 0.25rem;
    background-color: #fff;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: 0.5rem;
    position: relative;
    width: 100%;
}

.info-box .info-box-icon {
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    text-align: center;
    width: 70px;
    height: 70px;
    color: #fff;
}

.info-box .info-box-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.8;
    flex: 1;
    padding: 0 10px;
}

.info-box .info-box-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}

.info-box .info-box-number {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-box .info-box-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #6c757d;
}

.bg-info {
    background-color: #17a2b8!important;
}

.bg-success {
    background-color: #28a745!important;
}

.bg-warning {
    background-color: #ffc107!important;
}

.copy-btn {
    cursor: pointer;
}

.copy-btn:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

/* XML Export Butonu Stilleri */
.xml-export-section {
    margin: 2rem 0;
}

.xml-export-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

.xml-export-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
}

.xml-export-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.xml-export-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.xml-export-icon i {
    font-size: 2.5rem;
    color: white;
    animation: rotate 2s linear infinite;
}

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

.xml-export-text {
    flex: 1;
    color: white;
}

.xml-export-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.xml-export-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.xml-export-button {
    flex-shrink: 0;
}

.xml-export-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.xml-export-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.xml-export-btn:hover::before {
    left: 100%;
}

.xml-export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
    background: linear-gradient(45deg, #218838, #1ea085);
}

.xml-export-btn:active {
    transform: translateY(0);
}

.xml-export-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.xml-export-progress {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.xml-export-progress .progress {
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.xml-export-progress .progress-bar {
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 10px;
}

.progress-text {
    color: white;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .xml-export-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .xml-export-text h2 {
        font-size: 1.5rem;
    }
    
    .xml-export-text p {
        font-size: 1rem;
    }
    
    .xml-export-btn {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* XML Export Sonuç Popup Stilleri */
.summary-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.summary-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.summary-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* Modal özel stilleri */
.modal-xl {
    max-width: 1200px;
}

#xmlExportResultModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#xmlExportResultModal .modal-header {
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
}

#xmlExportResultModal .modal-body {
    padding: 2rem;
}

#xmlExportResultModal .modal-footer {
    border-radius: 0 0 20px 20px;
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Tablo stilleri */
#sourceDetailsTable th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-top: none;
}

#sourceDetailsTable td {
    vertical-align: middle;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
}

.status-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Ürün listesi stilleri */
#newProductsList, #removedProductsList {
    max-height: 300px;
    overflow-y: auto;
}

.product-item {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item:last-child {
    border-bottom: none;
}

.product-info {
    flex: 1;
}

.product-code {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.product-name {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.product-source {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Scrollbar özelleştirmesi */
#newProductsList::-webkit-scrollbar,
#removedProductsList::-webkit-scrollbar {
    width: 6px;
}

#newProductsList::-webkit-scrollbar-track,
#removedProductsList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#newProductsList::-webkit-scrollbar-thumb,
#removedProductsList::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#newProductsList::-webkit-scrollbar-thumb:hover,
#removedProductsList::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-card {
    animation: fadeInUp 0.6s ease-out;
}

.summary-card:nth-child(1) { animation-delay: 0.1s; }
.summary-card:nth-child(2) { animation-delay: 0.2s; }
.summary-card:nth-child(3) { animation-delay: 0.3s; }
.summary-card:nth-child(4) { animation-delay: 0.4s; }