/* --- CSS STYLING FOR SALESFORCE LOOK --- */
:root {
  --brand-primary: #0070d2;
  /* Salesforce Blue */
  --brand-light: #f4f6f9;
  /* Light gray background */
  --text-primary: #080707;
  --text-secondary: #54698d;
  --border-color: #dddbda;
  --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.07);
  --border-radius: 0.25rem;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--brand-light);
  color: var(--text-primary);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Global Header --- */
.global-header {
  background-color: var(--brand-primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.global-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-brand img {
  height: 50px;
  width: 50px;
  border-radius: var(--border-radius);
  background-color: white;
}

.header-brand h1 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.header-brand small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.header-datetime {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
}

/* --- Page Header & Main Content --- */
.page-header {
  background-color: white;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

main {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* --- Responsive Card Grid --- */
.card-grid {
  display: grid;
  /* This single line creates a responsive grid */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* --- Panel Cards --- */
.panel-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.panel-card .icon {
  font-size: 2.5rem;
  color: var(--brand-primary);
}

.panel-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0;
}

.panel-card .btn {
  display: inline-block;
  background-color: var(--brand-primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.panel-card .btn:hover {
  background-color: #005fb2;
  /* Darker blue on hover */
}

/* --- Stats/Metric Cards --- */
.metric-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  text-align: center;
}

.metric-card h4 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.25rem 0;
}

.metric-card p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Notice Card --- */
.notice-card {
  background-color: #eaf5ff;
  /* Light blue background */
  border: 1px solid #b8dfff;
  padding: 1.5rem;
  margin-top: 30px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 1rem;
}
#dashboard-info{
  margin-top: 30px;
}
.notice-card .icon {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.notice-card h5 {
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.notice-card p {
  margin: 0;
  color: #005fb2;
}

.notice-card a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.notice-card a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.page-footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
  .global-header-content {
    justify-content: center;
    text-align: center;
  }

  .header-datetime {
    text-align: center;
    width: 100%;
  }

  .page-header h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }
}
/* --- Form Styles --- */
