/* ===================================================
   ABERDEEN LMS SAFE DESIGN SYSTEM
   Blackboard Ultra & Canvas Compatible
   All classes prefixed with .ab-
   =================================================== */

/* ====== BRAND VARIABLES ====== */
:root {
  --dark-navy: #121D2F;
  --primary-blue: #1F3165;
  --secondary-blue: #365594;
  --gold: #FFCA00;
  --white: #ffffff;
  --purple: #a234b5;
  --light-gray: #f8f9fa;
  --border-light: #e1e1e1;
  --placeholder-blue: #046ef6;
}

/* ===================================================
   1. WRAPPER / CONTAINER
   =================================================== */

.ab-wrapper {
  /* max-width: 1200px;
  padding: 20px; */
  margin: 0 auto;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ===================================================
   2. HERO SECTION
   =================================================== */

.ab-hero {
  background: linear-gradient(rgba(18,29,47,0.85), rgba(18,29,47,0.85)),
              url('https://resources.student.emeritus.org/Aberdeen/University-of-Aberdeen-Campus.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 40px;
}

.ab-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.ab-hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* ===================================================
   3. BUTTONS
   =================================================== */

.ab-btn {
  display: inline-block;
  margin: 15px 10px 0 10px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--dark-navy);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s ease;
}

.ab-btn:hover {
  background: #e6b800;
}

/* ===================================================
   4. SECTIONS
   =================================================== */


.ab-section h2 {
  color: var(--primary-blue);
  margin-bottom: 25px;
  text-align: center;
}

.ab-section h4 {
  margin-bottom: 15px;
}

.ab-section h5 {
  margin-top: 20px;
  margin-bottom: 8px;
}

/* ===================================================
   5. INTRO CARD
   =================================================== */

.ab-intro-card {
  background: var(--light-gray);
  border-top: 6px solid var(--purple);
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===================================================
   6. GRID SYSTEM
   =================================================== */

.ab-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

/* ===================================================
   7. CARDS
   =================================================== */

.ab-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--purple);
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.ab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.ab-title {
  color: var(--purple);
  margin-top: 0;
  font-size: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.ab-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #444;
}

/* ===================================================
   8. LINKS
   =================================================== */

.ab-wrapper a {
  color: var(--placeholder-blue);
  text-decoration: none;
}

.ab-wrapper a:hover {
  text-decoration: underline;
  color: var(--purple);
}

/* ===================================================
   9. LISTS
   =================================================== */

.ab-section ul {
  padding-left: 20px;
}

.ab-section li {
  margin-bottom: 6px;
}

/* ===================================================
   10. PLACEHOLDER TEXT
   =================================================== */

.ab-placeholder {
  color: var(--placeholder-blue);
  font-style: italic;
}

/* ===================================================
   11. UTILITIES
   =================================================== */

.ab-spacer {
  height: 15px;
}

/* ===================================================
   12. RESPONSIVE
   =================================================== */

@media (max-width: 768px) {

  .ab-wrapper {
    padding: 15px;
  }

  .ab-hero h1 {
    font-size: 28px;
  }

  .ab-hero p {
    font-size: 16px;
  }

  .ab-section {
    padding: 30px 0;
  }

  .ab-grid-row {
    gap: 15px;
  }
}
/* ==========================================
   ABERDEEN TABLE SYSTEM
   LMS SAFE (Ultra + Canvas)
   ========================================== */

.ab-table-wrapper {
  width: 100%;
  overflow-x: auto; /* Enables horizontal scroll on mobile */
  margin-bottom: 25px;
}

.ab-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Prevents squashing on mobile */
  background: #ffffff;
  font-size: 14px;
}

/* Header */
.ab-table thead th {
  background: #f8f9fa;
  color: var(--primary-blue);
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #e1e1e1;
}

/* Body Cells */
.ab-table td {
  padding: 12px 14px;
  border: 1px solid #e1e1e1;
  vertical-align: top;
}

/* Zebra Striping */
.ab-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Hover Effect */
.ab-table tbody tr:hover {
  background: #f1f5f9;
}

/* Compact Version */
.ab-table-compact th,
.ab-table-compact td {
  padding: 8px 10px;
  font-size: 13px;
}

/* Center Alignment Utility */
.ab-table-center {
  text-align: center;
}

/* Responsive Font Adjustments */
@media (max-width: 768px) {
  .ab-table {
    font-size: 13px;
  }
}

/* ==========================================
   ABERDEEN Card
   ========================================== */

.abdn-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 18px;
  margin: 16px 0;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.abdn-card:hover {
  border-color: #1F3165;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.abdn-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  border-radius: 8px;
  margin-right: 20px;
  font-size: 26px;
  color: #1F3165;
}

.abdn-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F3165;
  margin-bottom: 6px;
}

.abdn-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.abdn-title a {
  text-decoration: none;
  color: #1F3165;
}

/* Login page footer remove*/
body.ic-Login-Body #footer.ic-Login-footer {
  display: none !important;
}