:root {
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --icon-color: #6c63ff;
}

.hero-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 100px 0;
}

.feature-card {
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.feature-card .card-title {
  min-height: 1.5rem;
  text-align: center;
}

.feature-card .card-text {
  min-height: 3.5rem;
  text-align: center;
}

.feature-card .badge {
  margin-top: 0.5rem;
}

.feature-card .card-body > i {
  font-size: 3rem !important;
  color: var(--icon-color) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
  border: none;
}

.login-card {
  max-width: 420px;
  margin: 80px auto;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dashboard-sidebar {
  min-height: 100vh;
  background: #1e1e2d;
  color: #fff;
  width: 260px;
  flex-shrink: 0;
}

.dashboard-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  margin: 0.15rem 0.5rem;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
  color: #fff;
  background: rgba(102, 126, 234, 0.25);
}

.dashboard-topbar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 1.5rem;
}

.stat-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-content {
  flex: 1;
  background: #f4f6f9;
}

/* Sunucular Sayfası */
.servers-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.servers-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  overflow: hidden;
}

.servers-card-header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 0.875rem 1.25rem;
}

.servers-count-badge {
  font-size: 0.8rem;
  padding: 0.4em 0.75em;
}

.servers-table thead tr {
  background: #1a1a2e;
  color: #fff;
}

.servers-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.65rem 0.5rem;
  white-space: nowrap;
  border: none;
  vertical-align: middle;
}

.servers-table tbody td {
  font-size: 0.8rem;
  padding: 0.5rem;
  vertical-align: middle;
  white-space: nowrap;
}

.server-name-cell {
  font-weight: 500;
}

.btn-provider {
  background: #6c757d;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  pointer-events: none;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 500;
}

.ip-cell {
  font-size: 0.75rem;
  line-height: 1.3;
}

.cred-group {
  display: inline-flex;
  gap: 2px;
}

.btn-cred {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border: none;
  color: #fff;
  min-width: 28px;
}

.btn-cred-user { background: #0d6efd; }
.btn-cred-pass { background: #ffc107; color: #000; }
.btn-cred-root { background: #dc3545; }

.btn-cred-reveal {
  font-size: 0.7rem;
  padding: 0.15rem 0.35rem;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #6c757d;
}

.port-badge {
  background: #0dcaf0;
  color: #000;
  font-size: 0.7rem;
  font-weight: 600;
}

.version-badge {
  background: #0d6efd;
  color: #fff;
  font-size: 0.7rem;
}

.btn-api {
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
}

.btn-spam {
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
}

.action-group {
  display: inline-flex;
  gap: 3px;
}

.action-group .btn {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
}

.icon-cell {
  font-size: 0.75rem;
}

.server-toggles .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

#serverModal .modal-title {
  font-weight: 600;
}

#serverModal .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

#serverModal .form-control,
#serverModal .form-select {
  font-size: 0.875rem;
}

#serverModal .modal-footer .btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
}

#serverModal .modal-footer .btn-primary:hover {
  background: #0b5ed7;
}
