/* Driver Page Styles */
.page-driver .content-main {
  border-left: 4px solid #ff9800;
}

.page-driver .sidebar-card:first-child {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe8b6 100%);
}

/* Helper Page Styles */
.page-helper .content-main {
  border-left: 4px solid #4caf50;
}

.page-helper .sidebar-card:first-child {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* Technical Page Styles */
.page-technical .content-main {
  border-left: 4px solid #2196f3;
}

.page-technical .sidebar-card:first-child {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Cleaning Page Styles */
.page-cleaning .content-main {
  border-left: 4px solid #00bcd4;
}

.page-cleaning .sidebar-card:first-child {
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

/* Support Page Styles */
.page-support .content-main {
  border-left: 4px solid #9c27b0;
}

.page-support .sidebar-card:first-child {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

/* Administrasi Page Styles */
.page-administrasi .content-main {
  border-left: 4px solid #673ab7;
}

.page-administrasi .sidebar-card:first-child {
  background: linear-gradient(135deg, #ede7f6 0%, #d1c4e9 100%);
}

/* About Page */
.page-about .page-header {
  padding: 60px 0 40px;
  margin-bottom: 40px;
}

.about-content {
  background: var(--surface);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-content p:not(.subtitle) {
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.about-card {
  background: linear-gradient(135deg, rgba(47, 125, 255, 0.05) 0%, rgba(47, 125, 255, 0.02) 100%);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(47, 125, 255, 0.1);
}

.about-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 12px;
}

.about-card p {
  margin: 0;
}

.advantages-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.advantages-list li {
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.advantages-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.stats-section {
  margin-top: 60px;
}

.achievements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.achievement {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.achievement h3 {
  font-size: 2.5rem;
  color: white;
  margin-top: 0;
  margin-bottom: 8px;
}

.achievement p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Contact Page */
.page-contact .page-header {
  padding: 60px 0 40px;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-section h2 {
  margin-bottom: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2.5rem;
  text-align: center;
}

.contact-detail h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-detail p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: inline-block;
  padding: 10px 16px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Contact Form */
.form-section h2 {
  margin-bottom: 24px;
}

.contact-form {
  background: var(--surface);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 125, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-status {
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-status.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-status.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .achievements {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-icon {
    text-align: left;
  }

  .about-content,
  .contact-form {
    padding: 24px;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .social-link {
    flex: 1;
    text-align: center;
  }
}

/* Dark Mode Sidebar Cards Color Overrides */
[data-theme="dark"] .page-driver .sidebar-card:first-child {
  background: linear-gradient(135deg, #2b1d0a 0%, #1e1102 100%);
  border: 1px solid rgba(255, 152, 0, 0.15);
}

[data-theme="dark"] .page-helper .sidebar-card:first-child {
  background: linear-gradient(135deg, #0f2715 0%, #061309 100%);
  border: 1px solid rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .page-technical .sidebar-card:first-child {
  background: linear-gradient(135deg, #0e1e38 0%, #060f1c 100%);
  border: 1px solid rgba(33, 150, 243, 0.15);
}

[data-theme="dark"] .page-cleaning .sidebar-card:first-child {
  background: linear-gradient(135deg, #082424 0%, #031111 100%);
  border: 1px solid rgba(0, 188, 212, 0.15);
}

[data-theme="dark"] .page-support .sidebar-card:first-child {
  background: linear-gradient(135deg, #250f2e 0%, #110516 100%);
  border: 1px solid rgba(156, 39, 176, 0.15);
}

[data-theme="dark"] .page-administrasi .sidebar-card:first-child {
  background: linear-gradient(135deg, #1c0e2d 0%, #0b0416 100%);
  border: 1px solid rgba(103, 58, 183, 0.15);
}

/* About Page - Management Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0 50px;
}

.pillar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-card:hover {
  background: var(--surface);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(18, 50, 75, 0.03);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(47, 125, 255, 0.15);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* About Page - Advantages Grid */
.about-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0 50px;
}

.adv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.adv-card:hover {
  background: var(--surface);
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(47, 125, 255, 0.05);
}

.adv-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(18, 50, 75, 0.03);
  transition: all 0.3s ease;
}

.adv-card:hover .adv-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(47, 125, 255, 0.2);
}

.adv-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Contact Page - Map Card and Wrapper Styles */
.map-container-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(18, 50, 75, 0.03);
  margin-top: 30px;
}

.map-container-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text);
}

.map-wrapper {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.map-link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-link-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(47, 125, 255, 0.15);
}

/* Career Page - Job Board Accordion Styles */
.job-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.job-card:hover {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(47, 125, 255, 0.05);
}

.job-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.job-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.job-badge {
  font-size: 0.75rem;
  background: rgba(47, 125, 255, 0.1);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: auto;
}

.job-arrow {
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.job-details {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
}

.job-card.active {
  background: var(--surface);
  border-color: var(--primary);
}

.job-card.active .job-arrow {
  transform: rotate(180deg);
}

.job-card.active .job-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top-color: var(--border);
}

.job-details h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.job-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.job-details ul li {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.job-details ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
}

/* Job Icon Box Styling */
.job-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.job-card:hover .job-icon-box,
.job-card.active .job-icon-box {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(47, 125, 255, 0.15);
}

.job-icon-box svg {
  width: 18px;
  height: 18px;
}

.job-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}
