:root {
  --primary-blue: #1a3a6c;
  --secondary-blue: #2d6ee0;
  --accent-green: #11998e;
  --accent-orange: #f7971e;
  --accent-gold: #ffd200;
  --dark-bg: #0c1a32;
  --card-bg: rgba(255, 255, 255, 0.08);
  --text-light: #ffffff;
  --text-gray: #b0c4de;
}

body {
  background: rgba(255, 255, 255, 0.95);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container-fluid {
  padding: 2rem 0rem;
  position: relative;
  z-index: 2;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 3;
}

.gradientText {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #000000;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-header p {
  font-size: 1.2rem;
  color: #666666;
  max-width: fit-content;
  margin: 0 auto;
  line-height: 1.6;
}

/* Decorative Elements */
.graphic-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.user-setting-breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.user-setting-breadcrumb-link {
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s;
}
.user-setting-breadcrumb-link:hover {
  color: #1a3a6c;
  text-decoration: none;
}

/* Bubbles, stars, coins (will be added via js) */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 83, 219, 0.1) 0%, transparent 100%);
  z-index: 0;
  animation: float 15s infinite ease-in-out;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(28, 95, 1, 0.3);
  border-radius: 50%;
  animation: twinkle 5s infinite ease-in-out;
}

.coin {
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.3), rgba(218, 165, 32, 0.3));
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  animation: spin 20s linear infinite;
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(5deg);
  }
  50% {
    transform: translateY(10px) translateX(-15px) rotate(-3deg);
  }
  75% {
    transform: translateY(-15px) translateX(-10px) rotate(2deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dashboard Content Layout */
.dashboard-content-wrapper {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 600px;
}

/* Nav Pills Container */
.nav-pills-container {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-pill {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  width: 100%;
}

.nav-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 1);
}

.nav-pill-active {
  background: linear-gradient(135deg, #007bff, #0056b3) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.nav-pill-icon {
  font-size: 1.4rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.nav-pill-active .nav-pill-icon {
  color: #ffffff;
}

.nav-pill-text {
  flex: 1;
}

/* Content Area */
.content-area {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.content-card {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Content Header */
.content-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.content-icon-bg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #0056b3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.content-icon-bg i {
  font-size: 2.2rem;
  color: white;
}

.content-title-section {
  flex: 1;
}

.content-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0;
  color: #052042;
  padding: 0;
}

.content-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin: 0;
  font-weight: 500;
}

/* Asset Display */
.asset-display {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 1rem;
  border-left: 4px solid #007bff;
}

.asset-value {
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  color: #000000;
}

.growth-container {
  display: flex;
  align-items: center;
}

.growth-badge {
  font-size: 1.1rem;
  padding: 0.6em 1.2em;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.growth-badge i {
  margin-right: 0.5rem;
}

.badge-success {
  background: linear-gradient(135deg, #38ef7d, #11998e);
  color: #ffffff;
}

.badge-danger {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: #ffffff;
}

.growth-text {
  margin-left: 1rem;
  color: #4b4a4a;
  font-weight: 500;
  font-size: 1rem;
}

/* Data Table */
.data-table-container {
  flex: 1;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.data-table th {
  background: #0056b3;
  color: #ffffff;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
  border: none;
}

.data-table th:first-child {
  border-top-left-radius: 1rem;
}

.data-table th:last-child {
  border-top-right-radius: 1rem;
}

.data-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: #000000;
  font-weight: 570;
  font-size: 1rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Thêm đường kẻ dọc giữa các cột */
.data-table th + th,
.data-table td + td {
  border-left: 1.5px solid #b3b3b391; /* Màu và độ dày của đường kẻ */
}

.data-table tr:nth-child(even) {
  background: rgba(0, 123, 255, 0.02);
}

.data-table tr:hover {
  background: rgba(0, 123, 255, 0.05);
  transition: background 0.2s ease;
}

.table-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.table-value {
  font-weight: 600;
  color: #007bff;
}

/* Field icon colors */
.field-in i {
  color: #4ad991;
}

.field-out i {
  color: #e26a6a;
}

.field-stock i {
  color: #2d6ee0;
}

.field-cash i {
  color: #ffd200;
}

.field-debt i {
  color: #ffac33;
}

.field-profit i {
  color: #0e1463;
}

/* Action Button */
.action-button-container {
  margin-top: auto;
  text-align: center;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  letter-spacing: 0.5px;
}

.action-button:hover {
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
  filter: brightness(1.1);
  text-decoration: none;
}

.action-button i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.action-button:hover i {
  transform: translateX(3px);
}

.content-description {
  color: #041b38; /* Xanh dương đậm */
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin: 20px auto;
  padding-bottom: 10px;
}

.content-description::after {
  content: "";
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50%; /* hoặc 40% tùy chọn */
  height: 4px;
  background-color: #fbbf24; /* Vàng đậm (Tailwind amber-400) */
  border-radius: 2px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .dashboard-content-wrapper {
    flex-direction: column;
  }
  
  .nav-pills-container {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 1rem;
  }
  
  .nav-pill {
    flex: 0 0 auto;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 1.5rem 1rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .gradientText {
    font-size: 2rem;
  }

  .content-title {
    font-size: 1.8rem;
  }

  .asset-value {
    font-size: 2rem;
  }

  .nav-pills-container {
    flex-direction: column;
  }

  .nav-pill {
    min-width: auto;
  }

  .data-table {
    min-width: 700px;
  }
  .data-table th,
  .data-table td {
    padding: 0.8rem 1rem;
  }

  .content-header {
    flex-direction: column;
    text-align: center;
  }

  .content-icon-bg {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}