/* Main Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.auth-logo {
  margin-bottom: 1.5rem;
  width: 100px;
  height: auto;
}

.auth-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.auth-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.auth-button {
  background-color: #7289DA;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background-color 0.2s;
}

.auth-button:hover {
  background-color: #5f73bc;
}

.discord-icon {
  margin-right: 10px;
}

/* Navigation */
.sidebar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 250px;
  position: fixed;
  height: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.content {
  margin-left: 250px;
  padding: 20px;
}

.user-profile {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.username {
  font-weight: 600;
  margin-bottom: 5px;
}

.role {
  color: #777;
  font-size: 0.9rem;
}

.nav-links {
  padding: 20px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(0, 0, 0, 0.05);
  color: #7289DA;
}

.nav-icon {
  margin-right: 10px;
  width: 20px;
}

/* Cards & Grids */
.card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.card-title {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  font-weight: 600;
  color: #333;
}

.table tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Buttons */
.btn {
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background-color: #7289DA;
  color: white;
}

.btn-danger {
  background-color: #f04747;
  color: white;
}

.btn-primary:hover {
  background-color: #5f73bc;
}

.btn-danger:hover {
  background-color: #d84040;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Error Page */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: #7289DA;
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Dashboard */
.dashboard-container {
  padding: 20px;
}

    /* Improved navbar styling */
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 1rem;
      background-color: #343a40;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-brand {
      font-weight: bold;
      font-size: 1.25rem;
      color: white;
      text-decoration: none;
    }
    
    .navbar-nav {
      display: flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .nav-item {
      margin: 0 0.5rem;
    }
    
    .nav-link {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      padding: 0.5rem;
      transition: color 0.3s;
    }
    
    .nav-link:hover {
      color: white;
    }
    
    .navbar-user {
      display: flex;
      align-items: center;
    }
    
    .navbar-avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    /* Responsive navbar adjustments */
    @media (max-width: 768px) {
      .navbar {
        flex-direction: column;
        padding: 0.5rem;
      }
      
      .navbar-nav {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
      }
      
      .nav-item {
        margin: 0.25rem 0.5rem;
      }
    }
.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 20px;
}

.stat-content h3 {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.dashboard-section {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.dashboard-section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.servers-container {
  margin-bottom: 20px;
}

.servers-container h3 {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.server-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.2s ease;
}

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

.server-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.server-icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a777e3, #6e8efb);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 10px;
}

.server-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-link {
  display: inline-block;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.server-link:hover {
  transform: scale(1.05);
}

.empty-state {
  text-align: center;
  padding: 30px;
  color: #999;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.alert-info {
  background-color: #e1f5fe;
  color: #0288d1;
  border-left: 4px solid #0288d1;
}

.alert i {
  margin-right: 10px;
  font-size: 18px;
}
