* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== General Styles ===== */
body {
  background: linear-gradient(135deg, #af9b5a 0%, #ca7729 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* ===== Navbar ===== */
.navbar-modern {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 1rem 0 !important;
  border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #af9b5a 0%, #ca7729 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* ===== Main Container ===== */
.main-container {
  padding: 40px 20px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

.content-wrapper {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px;
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #af9b5a;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -0.5px;
}

/* ===== Tabs ===== */
.nav-tabs {
  border-bottom: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.nav-link {
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px 20px !important;
  color: #666 !important;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #af9b5a 0%, #ca7729 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: white !important;
  border-color: transparent;
}

.nav-link.active {
  background: linear-gradient(135deg, #af9b5a 0%, #ca7729 100%);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* ===== Accordion ===== */
.accordion {
  gap: 12px;
}

.accordion-item {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.accordion-item:hover {
  border-color: #af9b5a;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.accordion-button {
  background: linear-gradient(to right, #fafbfc 0%, #f5f7fa 100%);
  border: none;
  color: #333;
  font-weight: 600;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #af9b5a 0%, #ca7729 100%);
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23af9b5a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
  background: #fafbfc;
  border-top: 2px solid #e0e0e0;
  padding: 20px;
  color: #666;
  line-height: 1.6;
}

.accordion-header {
  margin: 0;
}

/* ===== Icons ===== */
.icon-chevron {
  display: inline-block;
  margin-right: 12px;
  color: #af9b5a;
  transition: transform 0.3s ease;
}

.accordion-item.expanded .icon-chevron {
  transform: rotate(90deg);
  color: #ca7729;
}

/* ===== Loading Animation ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.accordion-item:nth-child(1) {
  animation: fadeIn 0.5s ease-out;
}

.accordion-item:nth-child(2) {
  animation: fadeIn 0.6s ease-out;
}

.accordion-item:nth-child(3) {
  animation: fadeIn 0.7s ease-out;
}

.accordion-item:nth-child(n+4) {
  animation: fadeIn 0.8s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 25px 20px;
  }

  .page-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .nav-tabs {
    gap: 8px;
  }

  .nav-link {
    padding: 8px 15px !important;
    font-size: 14px;
  }

  .accordion-button {
    padding: 12px 15px;
    font-size: 14px;
  }

  .accordion-body {
    padding: 15px;
  }

  .icon-chevron {
    margin-right: 8px;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 20px 15px;
  }

  .content-wrapper {
    padding: 20px 15px;
  }

  .page-title {
    font-size: 20px;
  }

  .navbar-brand {
    font-size: 20px;
  }
}
