/* Dark iCloud-Inspired Dashboard Style */

/* Root Variables for a consistent color palette */
:root {
  --bg-start: #1c1c1e;    /* iOS dark gray */
  --bg-end: #2c2c2e;      /* Slightly lighter gray */
  --card-bg: rgba(28, 28, 30, 0.8);  /* Translucent dark card */
  --accent-color: #007aff; /* Apple’s signature blue */
  --text-color: #ffffff;   /* White text */
  --border-color: #3a3a3c; /* Subtle border for dark themes */
  --shadow-color: rgba(0, 0, 0, 0.4);
  --highlight-color: #ff3b30; /* Apple’s red for highlights */
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Dark gradient background, reminiscent of iCloud’s dark mode */
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color: var(--text-color);
  font-family: var(--font-stack);
  line-height: 1.6;
  min-height: 100vh;
}

/* A general container to center content, if needed */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  /* Instead of a white box, use translucent “cards” to match iCloud’s dark dash */
  background-color: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--shadow-color);
  padding: 30px;
}

/* Header & Footer (if you use them) */
.header, .footer {
  background-color: transparent; /* Let the gradient show through or keep it dark */
  color: var(--text-color);
  text-align: center;
  padding: 20px;
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #0051a8; /* Darker Apple blue on hover */
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}
.button:hover {
  background-color: #0051a8;
}

/* Inputs & Textareas */
.input-field {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  background-color: #2c2c2e;
  color: var(--text-color);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: transparent;
}
.table th,
.table td {
  border: 1px solid var(--border-color);
  padding: 14px;
  text-align: left;
  vertical-align: middle;
}
.table th {
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

/* Highlighted Rows (for scanned graduates, etc.) */
.highlight {
  background-color: var(--highlight-color) !important;
  color: #fff !important;
}

/* Lower Third (if used on non-display pages) */
.lower-third {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(28, 28, 30, 0.9);
  text-align: center;
  font-size: 36px;
  color: var(--text-color);
  box-shadow: 0 -2px 8px var(--shadow-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    margin: 20px auto;
    padding: 20px;
  }
  .button {
    font-size: 14px;
    padding: 10px 20px;
  }
  .input-field {
    font-size: 14px;
  }
  .table th,
  .table td {
    padding: 10px;
    font-size: 14px;
  }
}
