*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Layout */
html,
body {
  height: 100%;
  overflow-x: hidden !important;
  width: 100%;
}
body {
  display: flex;
  flex-direction: column;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body::-webkit-scrollbar {
  display: none;
}
main {
  flex: 1;
}

/* Base Gradients */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.dark-theme .card-hover:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}
/* Tema Geçişleri */
.theme-transition {
  transition: all 0.3s ease;
}
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Dark Theme Global Styles */
.dark-theme {
  background-color: #111827 !important;
}
.dark-theme .gradient-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* Dark Theme Component Styles */
.dark-theme #main-card {
  background-color: #1f2937 !important;
  color: #ffffff !important;
}
.dark-theme #main-title {
  color: #ffffff !important;
}
.dark-theme #main-subtitle {
  color: #d1d5db !important;
}

.dark-theme #status-icon {
  background-color: #14532d !important;
}
.dark-theme #status-icon i {
  color: #4ade80 !important;
}

.dark-theme #security-card,
.dark-theme #domain-card {
  background-color: #374151 !important;
  color: #ffffff !important;
}
.dark-theme #security-card h3,
.dark-theme #domain-card h3 {
  color: #ffffff !important;
}
.dark-theme #security-card p,
.dark-theme #domain-card p {
  color: #d1d5db !important;
}

.dark-theme #footer {
  background-color: #111827 !important;
}
.dark-theme #footer-text {
  color: #6b7280 !important;
}

/* Theme Toggle Button (Şeffaf ve Işık) */
#theme-button {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}
#theme-button:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.15), 0 4px 6px -2px rgba(255, 255, 255, 0.1);
}
/* Dark Mode Button Styles */
.dark-theme #theme-button {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}
.dark-theme #theme-button:hover {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Logo Styles */
.footer-logo {
  width: 122px;
  height: auto;
  max-width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  main {
    min-height: calc(100vh - 300px);
  }

  
}
@media (max-width: 768px) {
  main {
    min-height: calc(100vh - 250px);
  }
}
@media (max-width: 640px) {
  main {
    min-height: calc(100vh - 200px);
  }
  .theme-toggle {
    top: 15px;
    right: 15px;
  }
  .theme-toggle button {
    padding: 8px;
    font-size: 14px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
  }
  #main-card {
    padding: 24px 16px;
    margin: 0 8px;
  }
  .grid {
    gap: 16px;
  }
}
@media (max-width: 480px) {
  main {
    min-height: calc(100vh - 150px);
  }
  .footer-logo {
    width: 96px;
    height: auto;
    max-width: 100%;
  }
}
