/* style.css - Unified Styling for Entire Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --success-color: #198754;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border-radius: 12px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--gray-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =============== NAVBAR =============== */
.navbar {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: white !important;
}

.btn-nav {
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-nav-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-nav-outline:hover {
  background: white;
  color: #0d6efd;
}

.btn-nav-solid {
  background: white;
  color: #0d6efd;
  border: none;
}

.btn-nav-solid:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* =============== PAGE HEADER =============== */
.page-header {
  background: linear-gradient(135deg, #0d6efd, #0c7cdc);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* =============== CARD & FORM STYLING =============== */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  background: #f1f3f5;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-medium);
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

.form-control, .form-select {
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
}

.btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--success-color);
  border: none;
}

.btn-success:hover {
  background-color: #157347;
}

.btn-outline-secondary {
  border-radius: 8px;
}

/* =============== BUTTONS =============== */
.btn-lg-custom {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* =============== LINKS & FOOTER =============== */
a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

.text-muted small {
  font-style: italic;
  color: var(--text-muted) !important;
}

footer {
  background: white;
  border-top: 1px solid var(--gray-medium);
  padding: 2rem 0;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--primary-color);
}

/* =============== UTILITIES =============== */
.container-wide {
  max-width: 1200px;
}

.text-primary-dark {
  color: var(--primary-color) !important;
}

.bg-white {
  background-color: white !important;
}

.shadow-sm {
  box-shadow: var(--box-shadow) !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

/* =============== DASHBOARD SPECIFIC =============== */
.status-badge {
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 50px;
  background: #d1ecf1;
  color: #0c5460;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.approved {
  background: #d4edda;
  color: #155724;
}

.status-badge.rejected {
  background: #f8d7da;
  color: #721c24;
}

.activity-item {
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.activity-item::before {
  content: "•";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: -6px;
  top: 0;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .container, .container-wide {
    padding-left: 15px;
    padding-right: 15px;
  }
}