/* Global */
.app-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e0f0ff 0, #f8f9ff 40%, #f8f9fa 100%);
  min-height: 100vh;
}

/* Navbar */
.app-navbar {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
}

.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffc107;
  margin-right: 6px;
}

/* Hero */
.hero-section {
  margin-top: -10px;
  margin-bottom: 8px;
}

.hero-card {
  border-radius: 1.1rem;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-title {
  font-size: 1.4rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.hero-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #6c757d;
}

/* Cards */
.app-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #ffffff;
}

/* Summary boxes */
.summary-box {
  border-radius: 0.9rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.summary-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.4rem 0.8rem rgba(15, 31, 53, 0.08);
  border-color: #d0d7ff;
}

.summary-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Status badges */
.badge-safe {
  background-color: #198754 !important;
}

.badge-risk {
  background-color: #fd7e14 !important;
}

.badge-short {
  background-color: #dc3545 !important;
}

/* Soft badges */
.bg-primary-soft {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.bg-success-soft {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.bg-info-soft {
  background: rgba(13, 202, 240, 0.12);
  color: #0dcaf0;
}

.bg-warning-soft {
  background: rgba(255, 193, 7, 0.12);
  color: #ffc107;
}

.bg-secondary-soft {
  background: rgba(108, 117, 125, 0.12);
  color: #6c757d;
}

/* Table */
.app-table thead {
  font-size: 0.85rem;
}

.app-table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.03);
}

/* Buttons spacing */
.quick-btn {
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

/* Advice text */
.advice-text {
  font-size: 0.83rem;
}

/* Progress bar */
.app-progress {
  border-radius: 999px;
  overflow: hidden;
}

/* Inputs */
.form-control {
  border-radius: 0.6rem;
}

/* Card titles */
.card-title {
  font-weight: 600;
}

/* Navbar links */
.navbar .nav-link {
  font-size: 0.93rem;
}

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

/* Code */
code {
  font-size: 0.85rem;
}

/* Highlight next period row in today's classes */
.next-class-row {
  border-left: 4px solid #0d6efd;
  background: rgba(13, 110, 253, 0.04);
}
/* History day editor buttons */
.history-status-btn {
  min-width: 90px;
  margin-right: 4px;
  margin-bottom: 4px;
}

.history-status-btn.active-status {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.5);
  outline: none;
}

.today-status-btn {
  min-width: 90px;
  margin-right: 4px;
  margin-bottom: 4px;
}
₹
/* Today attendance buttons */
.active-status {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.5);
  outline: none;
}
/* Divider */
hr {
  border-top: 1px solid #e0e0e0;
  margin: 1.5rem 0;
}
/* ===== About Page Enhancements ===== */

.about-hero {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border-radius: 14px;
}

.about-hero h1 {
  font-weight: 700;
}

.about-section {
  border-left: 4px solid #4d4ea9;
}

.about-section h5 {
  color: #6259c3;
  font-weight: 600;
}

.about-list {
  list-style: none;  
  padding-left: 0;
  margin-bottom: 0;
}

.about-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}

.about-list li::before {
  content: "●";
  color: #6366f1;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.8rem;
}

.feature-badge {
  background: rgba(99, 102, 241, 0.1);
  color: #4338ca;
  font-weight: 500;
}

.soft-highlight {
  background: #f8f9ff;
  border-radius: 10px;
}
.about-card {
  border-left: 4px solid #6366f1;
  background: #ffffff;
}

.about-card h5 {
  color: #4338ca;
  font-weight: 600;
}
.brand-logo {
  width: 30px;      
  height: 30px;    
  object-fit: contain;
  border-radius: 50%; 
}

.navbar-brand {
  display: flex;
  align-items: center;
}

/* footer */
.footer {
  width: 100%;
  background: linear-gradient(90deg, #1e6bff, #6a00ff);
  color: #ffffff;
  padding: 14px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-l {
  position: absolute;
  left: 0;
  font-size: 13px;
  opacity: 0.85;
}

.footer-c {
  font-size: 14px;
  text-align: center;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffd500;
}
