/* ============================= */
/* SERVER OVERVIEW - MODERN STYLES */
/* ============================= */

/* Hoster Card - Modern Glasmorphism Design */
.hoster-card {
  background: rgba(13, 110, 253, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 110, 253, 0.15);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hoster-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #0dcaf0, #198754);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hoster-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 110, 253, 0.3);
  background: rgba(13, 110, 253, 0.12);
  box-shadow: 0 16px 40px rgba(13, 110, 253, 0.2);
}

.hoster-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Hoster Logo Container */
.hoster-logo-container {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.08));
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
  overflow: hidden;
}

.hoster-logo {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.hoster-card:hover .hoster-logo {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Hoster Content */
.hoster-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hoster-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.hoster-description {
  font-size: 0.9rem;
  color: #adb5bd;
  margin: 0;
}

.hoster-count {
  font-size: 0.9rem;
  color: #0dcaf0;
  margin: 0.5rem 0 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.hoster-count i {
  font-size: 1rem;
}

/* Hoster Button */
.hoster-btn {
  background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1.5rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
  gap: 0.5rem;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.hoster-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateY(-50%) skewX(-20deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hoster-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(13, 110, 253, 0.4);
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #0855d4 0%, #06a5d3 100%);
}

.hoster-btn:hover::before {
  opacity: 1;
  animation: shine 0.4s ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.hoster-btn:active {
  transform: translateY(-1px);
}

.hoster-btn i {
  font-size: 1rem;
  font-weight: 700;
}

/* Empty State */
.hoster-empty-state {
  background: rgba(108, 117, 125, 0.06);
  backdrop-filter: blur(10px);
  border: 2px dashed rgba(108, 117, 125, 0.25);
  border-radius: 18px;
  padding: 3.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 320px;
}

.hoster-empty-state:hover {
  border-color: rgba(13, 110, 253, 0.3);
  background: rgba(13, 110, 253, 0.05);
}

.hoster-empty-state i {
  font-size: 4rem;
  color: rgba(13, 110, 253, 0.5);
}

.hoster-empty-state h5 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.hoster-empty-state p {
  color: #adb5bd;
  font-size: 0.95rem;
  margin: 0;
}

.hoster-empty-state a {
  color: #0dcaf0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hoster-empty-state a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Dashboard Alert Enhancement */
.dashboard-alert {
  background: rgba(13, 110, 253, 0.12) !important;
  border: 1px solid rgba(13, 110, 253, 0.25) !important;
  border-left: 4px solid #0d6efd !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px) !important;
  padding: 1.25rem 1.75rem !important;
  color: #fff !important;
}

.dashboard-alert i {
  color: #0dcaf0 !important;
}

.dashboard-alert .btn-close {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.dashboard-alert .btn-close:hover {
  opacity: 1;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
  border: none;
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.25);
  transition: all 0.25s ease;
  padding: 0.95rem 2rem !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35);
  background: linear-gradient(135deg, #0855d4 0%, #0baed4 100%);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(108, 117, 125, 0.15);
  border: 1px solid rgba(108, 117, 125, 0.25);
  color: #adb5bd;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(108, 117, 125, 0.25);
  border-color: rgba(108, 117, 125, 0.4);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* No Hover Effect Button */
.btn-no-hover:hover,
.btn-no-hover:focus {
  transform: none !important;
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.25) !important;
  background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%) !important;
  color: white !important;
}

.btn-secondary.btn-no-hover:hover,
.btn-secondary.btn-no-hover:focus {
  background: rgba(108, 117, 125, 0.15) !important;
  border-color: rgba(108, 117, 125, 0.25) !important;
  color: #adb5bd !important;
}
