body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.6;
}

/*End off pridifain css*/

/*Preloader*/
#loading {
  background-color: teal;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  margin-top: 0px;
  top: 0px;
  left: 0;
  z-index: 9999;
}
#loading-center {
  width: 100%;
  height: 100%;
  position: relative;
}
#loading-center-absolute {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 50px;
  width: 50px;
  margin-top: -25px;
  margin-left: -25px;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: loading-center-absolute 1.5s infinite;
  animation: loading-center-absolute 1.5s infinite;
}
.object {
  width: 25px;
  height: 25px;
  background-color: #fff;
  float: left;
}

#object_one {
  -webkit-animation: object_one 1.5s infinite;
  animation: object_one 1.5s infinite;
}
#object_two {
  -webkit-animation: object_two 1.5s infinite;
  animation: object_two 1.5s infinite;
}
#object_three {
  -webkit-animation: object_three 1.5s infinite;
  animation: object_three 1.5s infinite;
}
#object_four {
  -webkit-animation: object_four 1.5s infinite;
  animation: object_four 1.5s infinite;
}

@-webkit-keyframes loading-center-absolute {
  100% {
    -webkit-transform: rotate(-45deg);
  }
}

@keyframes loading-center-absolute {
  100% {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
}

@-webkit-keyframes object_one {
  25% {
    -webkit-transform: translate(0, -50px) rotate(-180deg);
  }
  100% {
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@keyframes object_one {
  25% {
    transform: translate(0, -50px) rotate(-180deg);
    -webkit-transform: translate(0, -50px) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) rotate(-180deg);
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@-webkit-keyframes object_two {
  25% {
    -webkit-transform: translate(50px, 0) rotate(-180deg);
  }
  100% {
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@keyframes object_two {
  25% {
    transform: translate(50px, 0) rotate(-180deg);
    -webkit-transform: translate(50px, 0) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) rotate(-180deg);
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@-webkit-keyframes object_three {
  25% {
    -webkit-transform: translate(-50px, 0) rotate(-180deg);
  }
  100% {
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@keyframes object_three {
  25% {
    transform: translate(-50px, 0) rotate(-180deg);
    -webkit-transform: translate(-50px, 0) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) rotate(-180deg);
    -webkit-transform: rtranslate(0, 0) rotate(-180deg);
  }
}

@-webkit-keyframes object_four {
  25% {
    -webkit-transform: translate(0, 50px) rotate(-180deg);
  }
  100% {
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}

@keyframes object_four {
  25% {
    transform: translate(0, 50px) rotate(-180deg);
    -webkit-transform: translate(0, 50px) rotate(-180deg);
  }
  100% {
    transform: translate(0, 0) rotate(-180deg);
    -webkit-transform: translate(0, 0) rotate(-180deg);
  }
}
/*End off Preloader*/

header {
  background: teal;
  color: white;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.creative-header {
  background: linear-gradient(135deg, #008080 0%, #20b2aa 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.1);
}

.animate-coin {
  color: #ffd700;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.brand-text {
  color: white;
}

.brand-text h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}

.tagline {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Mini Converter */
.mini-converter select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-links i {
  font-size: 1.1rem;
}

/* Tooltip Styles */
.nav-links a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle,
.settings-link {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover,
.settings-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  margin: 0 10px;
  border: none;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar .nav-links a.active,
.navbar .nav-links a:hover {
  text-decoration: underline;
  color: #f1bf6f;
}

/* Redesigned Welcome Section */
.welcome-section {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 128, 128, 0.1) 0%,
    rgba(0, 128, 128, 0) 70%
  );
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.welcome-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.greeting-wrapper {
  display: flex;
  flex-direction: column;
}

.time-greeting {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.user-name {
  font-size: 2.5rem;
  color: teal;
  margin: 0;
  font-weight: bold;
  background: linear-gradient(45deg, teal, #20b2aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.date-badge {
  background: rgba(0, 128, 128, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: teal;
  font-size: 0.9rem;
}

.welcome-tagline {
  font-size: 1.2rem;
  color: #555;
  margin: 1rem 0;
}

.quick-insights {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.insight-pill {
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.insight-pill:hover {
  transform: translateY(-2px);
}

.insight-pill i {
  color: teal;
  font-size: 1.1rem;
}

.motivation-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.goal-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.progress-ring {
  position: relative;
  width: 80px;
  height: 80px;
}

.progress-ring-circle {
  fill: none;
  stroke: teal;
  stroke-width: 5;
  stroke-dasharray: 220;
  stroke-dashoffset: 77; /* Represents 65% progress */
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.3s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: teal;
}

.daily-tip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.daily-tip i {
  color: #ffd700;
  font-size: 1.2rem;
}

.daily-tip p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .welcome-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .welcome-header {
    flex-direction: column;
    gap: 1rem;
  }

  .date-badge {
    align-self: flex-start;
  }

  .quick-insights {
    flex-direction: column;
  }

  .user-name {
    font-size: 2rem;
  }
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  padding: 2rem;
  background: #e8f5e9;
  margin-bottom: 2rem;
}

.welcome-section h1 {
  font-size: 2rem;
  color: teal;
}

.welcome-section p {
  font-size: 1.2rem;
}

/* Dashboard overview */
.dashboard-overview {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  padding: 1rem 0;
  max-width: 1100px;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 0 1rem;
  position: relative;
  animation: fadeIn 1s ease;
}

.card i {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 50px;
  opacity: 0.2;
}

.card h3 {
  font-size: 1.2rem;
  color: #555;
}

.card p {
  font-size: 1.5rem;
  font-weight: bold;
  color: teal;
}
/* Quick links */
.quick-links {
  text-align: center;
  padding: 2rem 0;
  background: #e8f5e9;
}

.quick-links h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.link-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.quick-link {
  text-decoration: none;
  color: white;
  background: teal;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quick-link:hover {
  background: rgb(4, 67, 67);
}

/* Redesigned Quick Links Section */
.quick-links {
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
  position: relative;
  overflow: hidden;
}

.quick-links::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 128, 128, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.quick-links-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.action-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.action-card:hover::before {
  opacity: 1;
}

.action-icon {
  background: rgba(0, 128, 128, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: teal;
  transition: all 0.3s ease;
}

.income-action .action-icon {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.expense-action .action-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.report-action .action-icon {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.settings-action .action-icon {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.action-content {
  flex: 1;
}

.action-content h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
}

.action-content p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.action-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: teal;
}

.action-card:hover .action-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .quick-links {
    padding: 2rem 1rem;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    padding: 1.2rem;
  }
}

/*Transaction section*/
.transactions-section {
  margin: 2rem auto;
  max-width: 900px;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.transactions-section table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-section th,
.transactions-section td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: left;
}

/* Budget section */
.budget-section {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
  background: #e8f5e9;
}

.budget-progress {
  width: 80%;
  margin: 0 auto 1rem;
  background: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: teal;
  width: 0;
  transition: width 0.3s ease-in-out;
}

/* Redesigned Budget Section */
.budget-section {
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
  margin: 2rem auto;
}

.budget-container {
  max-width: 1200px;
  margin: 0 auto;
}

.budget-controls {
  display: flex;
  gap: 1rem;
}

.budget-btn {
  background: teal;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.budget-btn:hover {
  background: #006666;
  transform: translateY(-2px);
}

.budget-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.budget-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.budget-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.budget-date {
  color: #666;
  font-size: 0.9rem;
}

.budget-amount {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.amount-label {
  color: #666;
  font-size: 0.9rem;
}

.amount-value {
  font-size: 2rem;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 0.5rem;
}

.budget-progress-container {
  width: 100%;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.budget-bar {
  height: 8px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, teal, #20b2aa);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.remaining-text {
  color: teal;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.category-select {
  background: rgba(0, 128, 128, 0.1);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: teal;
  cursor: pointer;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-item {
  padding: 0.5rem 0;
}

.category-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-info i {
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 10px;
  color: teal;
}

.category-details {
  flex: 1;
}

.category-name {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.category-bar {
  height: 4px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.housing {
  background: linear-gradient(90deg, #4caf50, #8bc34a);
}
.food {
  background: linear-gradient(90deg, #2196f3, #03a9f4);
}
.transport {
  background: linear-gradient(90deg, #9c27b0, #e91e63);
}

.category-percent {
  font-size: 0.9rem;
  color: #666;
  min-width: 45px;
  text-align: right;
}

.budget-summary {
  position: sticky;
  top: 100px;
}

.trend-chart {
  margin: 1.5rem 0;
  height: 200px;
}

.trend-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.trend-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 128, 128, 0.05);
  border-radius: 12px;
}

.trend-label {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.trend-value {
  font-size: 1rem;
  font-weight: bold;
}

.trend-value.increase {
  color: #28a745;
}

.trend-value.decrease {
  color: #dc3545;
}

@media screen and (max-width: 992px) {
  .budget-content {
    grid-template-columns: 1fr;
  }

  .budget-summary {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .budget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .category-header {
    flex-direction: column;
    gap: 1rem;
  }

  .category-select {
    width: 100%;
  }
}

/* Redesigned Budget Section Styles */
.budget-section {
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
}

.budget-filters {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-chip.active {
  background: teal;
  color: white;
}

.budget-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.budget-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.progress-ring-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
}

.progress-ring-circle-bg {
  fill: none;
  stroke: rgba(0, 128, 128, 0.1);
  stroke-width: 8;
}

.progress-ring-circle {
  fill: none;
  stroke: teal;
  stroke-width: 8;
  stroke-linecap: round;
  transition: all 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

.progress-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-percentage {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: teal;
}

.progress-label {
  font-size: 0.9rem;
  color: #666;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-label {
  color: #666;
  font-size: 0.9rem;
}

.info-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
}

.info-item.highlight .info-value {
  color: teal;
  font-size: 1.4rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.view-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-toggle.active {
  color: teal;
}

.category-views > div {
  display: none;
}

.category-views > div.active {
  display: block;
}

.alert-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  background: rgba(0, 128, 128, 0.05);
}

.alert-item.danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.alert-item.warning {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.alert-item.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.alert-content {
  flex: 1;
}

.alert-title {
  display: block;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.alert-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* footer */
footer {
  /* margin-top: 2rem; */
  text-align: center;
  padding: 15px 0;
  background: teal;
  color: white;
  font-size: 14px;
  margin-top: 20px;
}
/* Aniamtions */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Incomes style */
#income-page {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}
#income-page h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.form-container {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}
.form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.form-container label {
  font-size: 1.1rem;
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.form-container input,
.form-container select {
  width: 90%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
}

.form-container button {
  padding: 12px 25px;
  background-color: teal;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  justify-content: center;
}

.form-container button:hover {
  background-color: rgb(4, 67, 67);
}

/* Income Table Styling */
/* Filter section */
.filter-container {
  text-align: center;
  margin-bottom: 20px;
}

.filter-container input {
  width: 75%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 10px;
}

.filter-container input::placeholder {
  color: #888;
}

#income-list {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table,
th,
td {
  border: 1px solid #ddd;
}
th,
td {
  padding: 12px;
  text-align: left;
}
th {
  background-color: #f4f6f9;
  font-size: 1.1rem;
}
td {
  font-size: 1rem;
}

button.delete-btn {
  padding: 6px 12px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
button.delete-btn:hover {
  background-color: #c82333;
}

/* Settings*/
main.settings {
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
}

main.settings h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Settings form container */
.settings-form-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 40px;
}

.settings-group {
  margin-bottom: 20px;
}
.settings-group h3 {
  color: teal;
  text-align: left;
}
.settings-group label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  color: #333;
}
.settings-group select,
input {
  width: 90%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.settings-form-container button {
  width: 50%;
  padding: 12px;
  background-color: teal;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  margin-bottom: 1.3rem;
}

.settings-form-container button:hover {
  background-color: rgb(4, 67, 67);
}

input[type="checkbox"] {
  width: auto;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 16px;
}

.custom-checkbox input {
  display: none;
}

.checkbox-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.checkbox-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.custom-checkbox input:checked + .checkbox-slider {
  background-color: #28a745;
}

.custom-checkbox input:checked + .checkbox-slider::before {
  transform: translateX(32px);
}

/* Disabled status */
.custom-checkbox input:disabled + .checkbox-slider {
  background-color: #ddd;
}

/* Theme-specif styles */
body[data-theme="dark"] {
  background-color: #333;
  color: white;
}

body[data-theme="dark"] header {
  background: #444;
}

body[data-theme="dark"] .settings-form-container {
  background-color: #555;
}

body[data-theme="dark"] .settings-group {
  background-color: #444;
}

/* Report section */
/* Page Header */
.page-header {
  text-align: center;
  padding: 2rem;
  background-color: #e8f5e9;
  color: teal;
}

.page-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
}

/* Summary Section */
.summary-section {
  padding: 2rem;
  background-color: white;
  margin: 1rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.summary-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.summary-card {
  flex: 1 1 calc(25% - 1rem);
  background-color: teal;
  color: white;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.summary-card p {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Filters Section */
.filters-section {
  padding: 2rem;
  margin: 1rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filters-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  flex: 1 1 calc(33% - 1rem);
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
  padding: 0.5rem;
  border: 1px solid teal;
  border-radius: 5px;
}

#filter-form button {
  background-color: teal;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#filter-form button:hover {
  background-color: #005f5f;
}

/* Charts Section */
.charts-section {
  padding: 2rem;
  background-color: white;
  margin: 1rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.charts-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.chart-container {
  margin: 1rem 0;
  text-align: center;
}

canvas {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
}

/* Transactions Table */
.transactions-section {
  padding: 2rem;
  margin: 1rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.transactions-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#transactions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

#transactions-table th,
#transactions-table td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: left;
}

#transactions-table th {
  background-color: teal;
  color: white;
  font-weight: bold;
}

#transactions-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

#transactions-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Insights Section */
.insights-section {
  padding: 2rem;
  margin: 1rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.insights-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.insight {
  margin-bottom: 1rem;
}

.insight h3 {
  font-size: 1.2rem;
  color: teal;
}

/* Responsive Helper Classes */
@media screen and (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .mobile-full-width {
    width: 100% !important;
  }

  .mobile-center {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Redesigned Dashboard Overview */
.dashboard-overview {
  padding: 0 2rem 2rem;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -2rem;
}

.overview-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  background: rgba(0, 128, 128, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.income .card-icon {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.expenses .card-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.balance .card-icon {
  background: rgba(0, 128, 128, 0.1);
  color: teal;
}

.card-content {
  flex: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.card-header h3 {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.trend {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.05);
}

.trend.positive {
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

.trend.negative {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.amount {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 0.5rem 0;
}

.period {
  font-size: 0.85rem;
  color: #666;
}

.balance-bar {
  height: 4px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 2px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.balance-bar .progress {
  height: 100%;
  background: linear-gradient(90deg, teal, #20b2aa);
  border-radius: 2px;
  transition: width 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .overview-cards {
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .overview-cards {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .overview-card {
    padding: 1rem;
  }

  .amount {
    font-size: 1.5rem;
  }
}

/* Redesigned Transactions Section */
.transactions-section {
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
  margin: 2rem auto;
}

.transactions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.header-left h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
}

.transaction-filters {
  display: flex;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.filter-btn i {
  font-size: 0.9rem;
}

.filter-btn.active {
  background: teal;
  color: white;
}

.transactions-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.transaction-list {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#transactions-table {
  width: 100%;
  border-collapse: collapse;
}

#transactions-table th {
  background: none;
  color: #666;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid #eee;
}

.th-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#transactions-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

#transactions-table tr:last-child td {
  border-bottom: none;
}

#transactions-table tbody tr {
  transition: all 0.3s ease;
}

#transactions-table tbody tr:hover {
  background: rgba(0, 128, 128, 0.05);
  transform: translateX(5px);
}

.transaction-summary {
  position: sticky;
  top: 100px;
}

.summary-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-label {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.chart-container {
  margin: 1.5rem 0;
  height: 200px;
}

.summary-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-item.income {
  background: rgba(40, 167, 69, 0.1);
}

.stat-item.expense {
  background: rgba(220, 53, 69, 0.1);
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: bold;
}

.stat-item.income .stat-value {
  color: #28a745;
}

.stat-item.expense .stat-value {
  color: #dc3545;
}

@media screen and (max-width: 992px) {
  .transactions-wrapper {
    grid-template-columns: 1fr;
  }

  .transaction-summary {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .transaction-filters {
    overflow-x: auto;
    padding: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .transaction-list {
    padding: 1rem;
    overflow-x: auto;
  }

  #transactions-table {
    font-size: 0.9rem;
  }
}

/* Budget Planner Styles */
.budget-planner {
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
  min-height: calc(100vh - 200px);
}

.budget-setup-section {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.current-period {
  margin-bottom: 2rem;
}

.period-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.arrow-btn {
  background: none;
  border: none;
  color: teal;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: rgba(0, 128, 128, 0.1);
  transform: scale(1.1);
}

.total-budget {
  max-width: 400px;
  margin: 0 auto;
}

.amount-input {
  position: relative;
  margin-top: 0.5rem;
}

.amount-input .currency {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.amount-input input {
  width: 100%;
  padding: 1rem 1rem 1rem 4rem;
  font-size: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.amount-input input:focus {
  border-color: teal;
  outline: none;
}

.category-allocation {
  margin-top: 3rem;
}

.category-group {
  background: #f8faf8;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-group h4 {
  color: teal;
  margin-bottom: 1rem;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateX(5px);
}

.category-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.category-input i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 10px;
  color: teal;
  font-size: 1.2rem;
}

.input-group {
  flex: 1;
}

.input-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: #666;
}

.input-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: teal;
  outline: none;
}

.percentage-badge {
  background: rgba(0, 128, 128, 0.1);
  color: teal;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.budget-summary {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.allocation-chart {
  height: 300px;
}

.summary-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  background: #f8faf8;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.stat-label {
  display: block;
  color: #666;
  margin-bottom: 0.5rem;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.stat-percentage {
  color: teal;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: teal;
  color: white;
}

.btn-secondary {
  background: #f0f0f0;
  color: #666;
}

.btn-primary:hover {
  background: #006666;
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

@media screen and (max-width: 992px) {
  .budget-summary {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .budget-planner {
    padding: 1rem;
  }

  .budget-setup-section {
    padding: 1rem;
  }

  .category-group {
    padding: 1rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Income Dashboard Styles */
.income-dashboard {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e9 100%);
}

.page-welcome {
  background: linear-gradient(135deg, #008080 0%, #20b2aa 100%);
  padding: 3rem 2rem;
  color: white;
}

.page-header-content {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.income-summary {
  max-width: 400px;
  margin: 0 auto;
}

.summary-card.total {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.income-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.content-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.income-form-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.animated-form .form-group {
  margin-bottom: 1.5rem;
}

.input-wrapper {
  position: relative;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.animated-form input,
.animated-form select,
.animated-form textarea {
  width: 100%;
  padding: 0.8rem;
  padding-left: 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.animated-form input:focus,
.animated-form select:focus,
.animated-form textarea:focus {
  border-color: teal;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.submit-btn {
  width: 100%;
  background: teal;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #006666;
  transform: translateY(-2px);
}

.income-history {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  width: 100%;
  padding: 0.8rem;
  padding-left: 2.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
}

.filter-options {
  display: flex;
  gap: 1rem;
}

.income-list {
  margin: 1.5rem 0;
  min-height: 400px;
}

.income-list.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.income-card {
  background: #f8faf8;
  border-radius: 15px;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
}

.income-card:hover {
  transform: translateY(-3px);
}

.income-analytics {
  margin-top: 3rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.chart-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chart-container {
  height: 300px;
  margin-top: 1.5rem;
}

@media screen and (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .income-form-section {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Income Form Styles */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.form-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: teal;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.enhanced-input {
  position: relative;
  margin-top: 0.5rem;
}

.enhanced-input input,
.enhanced-input textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(0, 128, 128, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.input-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border-radius: 12px;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 0;
}

.enhanced-input input:focus ~ .input-backdrop,
.enhanced-input textarea:focus ~ .input-backdrop {
  transform: scale(1);
  opacity: 1;
}

.currency-badge {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: teal;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  z-index: 2;
}

.amount-group input {
  padding-left: 4rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.category-selector {
  margin-top: 0.5rem;
}

.category-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.category-options input[type="radio"] {
  display: none;
}

.category-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(0, 128, 128, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-option:hover {
  transform: translateY(-2px);
}

.category-options input[type="radio"]:checked + .category-option {
  background: teal;
  color: white;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  margin-top: 0.5rem;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 128, 128, 0.1);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: teal;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(30px);
}

.tags-input {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(0, 128, 128, 0.05);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag {
  background: rgba(0, 128, 128, 0.1);
  color: teal;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag .remove-tag {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.tag .remove-tag:hover {
  opacity: 1;
}

.submit-btn {
  position: relative;
  overflow: hidden;
}

.btn-content,
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.btn-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0;
  transform: translateY(100%);
}

.submit-btn.loading .btn-content {
  transform: translateY(-100%);
  opacity: 0;
}

.submit-btn.loading .btn-loading {
  transform: translateY(0);
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-options {
    grid-template-columns: 1fr;
  }
}
