/* Xenum Hosting Theme - Exact Match CSS */
/* This CSS file applies styling to match the screenshot exactly */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333333;
}

/* Header Styles */
header, .navbar {
  background: linear-gradient(to right, #2a4ca5, #1e3a8a) !important;
  padding: 15px 0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-brand:hover {
  color: white !important;
}

.navbar .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 8px 16px !important;
  margin: 0 5px;
}

.navbar .nav-link:hover {
  opacity: 0.9;
}

/* Language Selector */
.js-language-selector {
  background-color: transparent;
  border-color: rgba(255,255,255,0.2);
  color: white;
}

/* Buttons */
.btn-primary {
  background-color: #2a4ca5 !important;
  border-color: #2a4ca5 !important;
  color: white !important;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 500;
}

.btn-outline-primary {
  border-color: #2a4ca5 !important;
  color: #2a4ca5 !important;
}

.btn-outline-primary:hover {
  background-color: #2a4ca5 !important;
  color: white !important;
}

.btn-secondary, .btn-dark {
  background-color: #333333 !important;
  border-color: #333333 !important;
  color: white !important;
}

/* Sign Up Button in Header */
.btn-sign-up {
  background-color: white !important;
  color: #2a4ca5 !important;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 500;
}

/* Layout Structure */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.sidebar .nav-link {
  color: #333333;
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.sidebar .nav-link:hover {
  background-color: #f8f8f8;
}

.sidebar .nav-link i, 
.sidebar .nav-link svg {
  margin-right: 10px;
  color: #666666;
  width: 20px;
  text-align: center;
}

/* Card Styles */
.card {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  border: none;
}

.card-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #eaeaea;
  font-weight: 600;
  padding: 15px;
}

.card-body {
  padding: 15px;
}

/* Welcome Banner */
.welcome-banner {
  background-color: #e6f7ff;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  color: #003366;
}

/* Buttons in Cards */
.card .btn-primary {
  background-color: #2a4ca5;
  border-color: #2a4ca5;
}

.card .btn-secondary {
  background-color: #333333;
  border-color: #333333;
}

/* Main Content Area */
.main-content {
  padding: 20px 0;
}

/* Footer */
footer {
  padding: 20px 0;
  color: #666666;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .sidebar {
    margin-bottom: 20px;
  }
  
  .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Fix for dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Fix for breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
}

/* Fix for alerts */
.alert {
  border-radius: 4px;
}

/* Fix for pagination */
.pagination .page-link {
  color: #2a4ca5;
}

.pagination .active .page-link {
  background-color: #2a4ca5;
  border-color: #2a4ca5;
}

/* Fix for tables */
.table thead th {
  border-top: none;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}

/* Fix for form controls */
.form-control:focus {
  border-color: #2a4ca5;
  box-shadow: 0 0 0 0.2rem rgba(42, 76, 165, 0.25);
}

/* Icons for sidebar */
.sidebar-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #666666;
}
