body {
  margin: 0;
  padding: 0%;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  color: #222;
  min-height: 100vh;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition: 0.2s;
  display: none;
}

.container:hover {
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.pen {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 30px;
  color: #CF8A75;
}

h1:nth-of-type(2){
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #333333;
}

.expense_name {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fafafa;
  outline: none;
  transition: 0.2s;
}

.expense_name:focus{
  border-color: #CF8A75;
  background-color: white;
}

.category{
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fafafa;
  outline: none;
  transition: 0.2s;
}

.category:focus{
  border-color: #CF8A75;
  background-color: white;
}

.Amount{
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fafafa;
  outline: none;
  transition: 0.2s;
}

.Amount:focus {
  border-color: #CF8A75;
  background-color: white;
}

.Date{
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fafafa;
  outline: none;
  transition: 0.2s;

}

.Date:focus {
  border-color: #CF8A75;
  background-color: white;
}

.add_button{
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  background-color: #CF8A75;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.add_button:hover{
  background-color: #B87562;
  transform: translateY(-2px);
}

.add_button:active{
  transform: translateY(0);
}

.total_spent{
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #222;  
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
  margin: 10px 0;
}

.Today_spending{
  font-size: 24px;
  font-weight: 600;
  color: #555;
  margin: 10px 0;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
  color: #111827;
}

.expense_list{
  margin-top: 15px;
  padding: 15px;
  background-color: #f9fafb;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
  min-height: 50px;
  box-sizing: border-box;
}

h2:nth-of-type(2){
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #111827;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;



}

.expense_item{
  padding: 12px;
  margin-bottom: 8px;
  background-color: 1px solid #eeeeee;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  font-size: 14px;
  color: #374151;
  transition: 0.2s;
  box-sizing: border-box;
}

.expense_item:hover{
  background-color: #f3f4f6;
  transform: translateX(3px);
}

.setup {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  box-sizing: border-box;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.setup h1{
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0 0 10px;
  color: white;
  text-align: center;
}

.setup p{
  font-size: 16px;
  color: #9CA3AF;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.user_n{
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  background-color: #1f232e;
  border: 1px solied #303542;
  border-radius: 14px;
  box-sizing: border-box;
  font-size: 15px;
  color: white;
  outline: none;
  transition: 0.2s;
}

.user_n:focus{
  border-color: #6B8AFD;
  background-color: #232836;
}

.Continue{
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background-color: #6B8AFD;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.Continue:hover{
  background-color: #5875E8;
  transform: translateY(-2px);
}

.setup_conent{
  width: 50%;
  max-width: 500px;
  padding: 40px;
  background-color: #171a23;
  border: 1px solid #292d38;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0,35);
  display: flex;
  flex-direction: column; 
  justify-content: center;
  box-sizing: border-box;
}

.setup_conent h1{
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0;
  margin-bottom: 8px;
  color: #ffffff;
  text-align: center;
}

.setup_conent p{
  font-size: 15px;
  color: #8f96a8;
  text-align: center;
  margin-top: 0;
  margin-bottom: 28px;
  line-height: 1.5;
}

.user_n,
.saving_t,
.daily_income {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  background-color: #1f232e;
  border: 1px solid #303542;
  border-radius: 14px;
  box-sizing: border-box;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: 0.2s;
}

.user_n:focus,
.saving_t:focus,
.daily_income:focus {
  border-color: #6B8AFD;
  background-color: #232836;
}

.savings_card {
  position: relative;
  width: 100%;
  min-height: 380px;
  margin-bottom: 25px;
  padding: 28px 32px 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #303542;
  border-radius: 28px;
  background-color: #171a23;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.savings_header{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.savings_header h3{
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.savings_period{
  font-size: 13px;
  color: #8f96a8;
}

.savings_total{
  position: relative;
  z-index: 2;
  margin-top: 24px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  line-height: -3px;
  color: #ffffff;
}

.savings_chart{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 55px;
  height: 210px;
  z-index: 1;
  background: linear-gradient(to top, rgba(120, 140, 255, 0,12), transparent 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.savings_graph{
  width: 100%;
  height: 100%;
  display: block;
}

.savings_line{
  fill: none;
  stroke: #8fa2ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(143, 162, 255, 0.55));
}

.savings_area{
  fill: url(#savingsFill);
}

.savings_footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #8f96a8;
}

.savings_delta {
  color: #7ee2a8;
  font-weight: 600;
}

.savings_stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8f96a8;
}

@media (max-width: 600px){
  .savings_card{
    min-height: 320px;
    padding: 22px 20px 0;
    border-radius: 22px;

  }
  .savings_total{
    font-size: 48px;
  }
  .savings_footer{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .savings_stats{
    flex-wrap: wrap;
  }

}