/* ==========================================================================
   CASSIOPEIA TEMPLATE CUSTOM COLOR THEME
   Brand Palette: Cyan (#00aeef) & Deep Blue (#0077b6)
   ========================================================================== */

:root {
  /* Cassiopeia Color Variable Overrides */
  --cassiopeia-color-primary: #00aeef;
  --cassiopeia-color-hover: #0077b6;
  --cassiopeia-color-link: #00aeef;
  --cassiopeia-header-bg: linear-gradient(135deg, #00aeef, #0077b6);
}

/* ===== 1. GLOBAL TYPOGRAPHY & LINKS ===== */
a {
  color: #00aeef;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #0077b6;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #0077b6;
}

.page-header h1, .page-header h2 {
  color: #00aeef;
  border-bottom: 2px solid #f0fbff;
  padding-bottom: 10px;
}

/* ===== 2. HEADER & CONTAINER TOP ===== */
.container-header {
  background: linear-gradient(135deg, #00aeef, #0077b6) !important;
  color: #ffffff;
}

.container-header .navbar-brand {
  color: #ffffff !important;
}

/* ===== 3. MAIN NAVIGATION (METISMENU / MENU MODULE) ===== */
.mod-menu a {
  color: #ffffff;
  font-weight: 500;
}

.mod-menu a:hover,
.mod-menu a:focus,
.mod-menu .active > a {
  color: #f0fbff !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px;
}

/* Dropdown Submenus */
.mod-menu .dropdown-menu {
  border-top: 3px solid #00aeef;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mod-menu .dropdown-menu a {
  color: #333333 !important;
}

.mod-menu .dropdown-menu a:hover {
  background-color: #f0fbff !important;
  color: #00aeef !important;
}

/* ===== 4. BUTTONS & CTA ===== */
.btn-primary, 
button.btn-primary,
input[type="submit"].btn-primary {
  background: linear-gradient(135deg, #00aeef, #0077b6) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover, 
.btn-primary:focus,
button.btn-primary:hover {
  background: linear-gradient(135deg, #0077b6, #005a8c) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.4);
}

.btn-outline-primary {
  color: #00aeef !important;
  border-color: #00aeef !important;
}

.btn-outline-primary:hover {
  background-color: #00aeef !important;
  color: #ffffff !important;
}

/* ===== 5. MODULE CARDS & CARDS LAYOUT ===== */
.card, 
.mod-card {
  border-radius: 14px !important;
  border: 1px solid rgba(0, 174, 239, 0.15) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 174, 239, 0.15);
}

.card-header, 
.mod-card .card-header {
  background: #f0fbff !important;
  border-bottom: 1px solid rgba(0, 174, 239, 0.2);
  color: #0077b6 !important;
  font-weight: 600;
}

/* ===== 6. FORM CONTROLS & INPUTS ===== */
.form-control:focus, 
select:focus, 
textarea:focus {
  border-color: #00aeef !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 174, 239, 0.25) !important;
}

.form-check-input:checked {
  background-color: #00aeef !important;
  border-color: #00aeef !important;
}

/* ===== 7. PAGINATION & BREADCRUMBS ===== */
.breadcrumb {
  background-color: #f0fbff;
  padding: 10px 18px;
  border-radius: 8px;
}

.breadcrumb-item a {
  color: #0077b6;
}

.page-link {
  color: #00aeef;
}

.page-item.active .page-link {
  background-color: #00aeef !important;
  border-color: #00aeef !important;
  color: #ffffff !important;
}

/* ===== 8. FOOTER CONTAINER ===== */
.container-footer {
  background: #0077b6 !important;
  color: #ffffff;
}

.container-footer a {
  color: #eaf9ff !important;
}

.container-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}