#openAnalysis {
  display: none;
  flex-direction: row;
  align-items: center;
  min-width: 800px;
  width: 100%;
  background-color: #f2f2f0;
  border-radius: 27px;
  animation: fadeInUpCustom 1.2s ease-out forwards;
  transition: 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
#openAnalysis:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.6);
}
.analysisCont1{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 65%;
}
.analysisCont2{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 35%;
  background: linear-gradient(to bottom, #292929 0%, #292929 10.5%, 
  #f2f2f0 10.5%, #f2f2f0 100%);
  border-radius: 0px 20px 20px 0px;
}

.analysisHeader {                                            
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: row;
  background-color: #292929;
  border-radius: 20px 0px 0px 8px;
  width: 100%;
  height: 10.5%;
  margin: 0px;
  gap: 0px;
  border-bottom: 4px solid #e3dfdc;
  transition: border-bottom-color 0.4s ease-out;
  cursor: default;
}

.analysisHeader:hover {
  border-bottom-color: #A2B59F;
}


.analysisAbout{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px;
  position: relative;
  width: 100%;
}
#todayDateA{
  justify-content: right;
  font-size: 18px;
  font-family: var(--font5);
  font-weight: 600;
  color: white;
  margin: 2px 0px 0px 5px;
}

.analysisCal{
  justify-content: right;
  height: 24px;
  letter-spacing: 0;
  margin-top: 1px;
  margin-left: 10px;
}
#analysisCentertab {
  background-color: transparent;
  display: flex;
  border-radius:7px;
  width: 100%;
  height: 47px;
  margin-top: 0px;
  margin-bottom: 2px;
  cursor: default;
}
#walletA {
  margin-top: 5px;
  margin-left: 18%;
  padding-left: 7px;
  padding-right: 3px;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-bottom: 12px;
  background-color: white;
  width: 37%;
  color: black;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-family: var(--font4);
  font-weight: 700;
  font-size: 16px;
  cursor: default;
  transition: 0.3s ease;
  animation: wakeUp 1s ease forwards;
}

#walletA:hover {
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.analysisContainer2 {
  display: flex;
  background-color: #fcfcfc;
  flex-direction: column;
  align-items: center;
  width: 95%;
  height: 54%;
  margin-right: 5%;
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.analysisContainer2:hover{
  transform: translateY(-4px);
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4); 
}

#chartContainerA{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2.5%;
  width: 95%;
  height: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 9px;
  transition: all 0.3s ease;
  animation: flowDown 1s ease;
}
#chartContainerA:hover{
  transform: translateY(-4px); 
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4); 
}

#donutElementsA{
  display: flex;
  flex-direction: column;
  align-items: center; 
  width: 50%; 
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: default;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}
#donutElementsA>* {
  scroll-snap-align: start;
}
#donutElementsA::-webkit-scrollbar {
  display: none;
}

.donutElement{
  display: flex;
  align-items: center;
  width: 95%;
  height: 35px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  border-radius: 6px;
  background-color: #faf9f7;
  padding: 1px;
  cursor: default;
  transition: 0.2s ease;
  animation: fadeInUpCustom 0.7s ease;
}
.donutElement:hover {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}


#analysisBox{
  display: flex;
  flex-direction: column;
  align-self: center;
  margin-left: 1%;
  width: 95%;
  height: 28%;
  border-radius: 9px;
}
.elementalBox{
  display: flex; 
  width: 47%;
  height: 90%;
  margin: 0% 1%;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 7px;
  background-color: #fafafa;
  transition: 0.3s ease;
  cursor: default;
  animation: fadeInUpCustom 1s ease;
}
.elementalBox:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
#netIncomeRef{
  font-size: 22px;
  font-weight: 610;
  line-height: 24px;
  color: #40734e;
}
#netExpenseRef {
  font-size: 22px;
  font-weight: 610;
  line-height: 24px;
  color: #e31f14;
}
#analysisType, #switchChart{
  font-size: 22px;
  font-weight: 600;
  color: white;
  text-align: center;
  letter-spacing: 1px;
  outline: none;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-left: 10px;
  width: 25%;
  cursor: pointer;
  transition: 0.3s ease;
}
#analysisType:hover, #switchChart:hover, .chartBtn:hover, .chartBtnActive{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.chartBtn {
  width: 30px;
  padding: 1px;
  margin: 0px 2px;
  border-radius: 100px;
  background-color: white;
  transition: 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
#calendarCard{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2% 3%;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 89%;
  height: 47%;
  margin-right: 5%;
  margin-top: 10px;
  border-radius: 10px;
  margin-top: 10px;
  transition: 0.3s ease;
  cursor: pointer;
  animation: flowLeft 1s ease;
}
#calendarCard:hover {
  transform: translateY(-4px);
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
}
#avgContainer{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
}
.avgAmount{
  color: #000;
  font-size: 40px;
  font-weight: 640;
  line-height: 42px;
  animation: fadeInUpCustom 0.7s ease;
}
.avgType{
  color: rgba(0, 0, 0, 0.7);
  font-size: 28px;
  font-weight: 630;
}
#overviewContainer{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 95%;
  margin-top: 10px;
  margin-right: 5%;
  height: 12%;
  border-radius: 10px;
  background-color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.2);
  animation: flowDown 1s ease;
}
#netAmountA{
  color: white;
  margin-top: 2px;
  font-size: 24px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 1px;
  font-family: var(--font16);
}
#fromDateA, #toDateA{
  background-color: transparent;
  color: #8c8c8c;
  font-size: 17px;
  font-weight: 450;
  border: none;
  outline: none;
  text-align: center;
  cursor: pointer;
  width: 40%;
}

.controls {
  display: flex;
  margin-bottom: 2px;
}
#monthSelect, #yearSelect {
  padding: 2px 7px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 35%;
  margin-left: 5px;
  cursor: pointer;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
#dayHeader div {
  text-align: center;
  padding: 4px 0;
}
.date-box {
  padding: 10px;
  background: #eaeaea;
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  font-family: var(--font16);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.box{
  display: flex;
  align-self: center;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background-color: #dcdcdc;
  font-family: var(--font16);
  color: rgba(0, 0, 0, 0.7);
  margin-top: 4px;
  font-size: 17px;
  line-height: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.date-num {
  font-size: 14px;
  line-height: 1;
}
.date-day {
  font-size: 11px;
  opacity: 0.7;
}
.date-box:hover {
  background: #dcdcdc;
}
.empty {
  background: transparent;
  cursor: default;
}
.selected-start {
  background: #ff8c42 !important;
  color: white;
  font-weight: bold;
}
.selected-end {
  background: #ff7a1a !important;
  color: white;
  font-weight: bold;
}
.selected-range {
  background: #ffd2a2 !important;
}

#transactionContainerA{
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 93%;
  margin-right: 5%;
  margin-top: 3px;
  height: 32%;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: default;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}
#transactionContainerA>* {
  scroll-snap-align: start;
}
#transactionContainerA::-webkit-scrollbar {
  display: none;
}

.transactionDescriptionA{
  display: flex;
  align-items: center;
  width: 96%;
  height: 35px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left: 3px solid transparent;
  margin-top: 4px;
  border-radius: 6px;
  background-color: #faf9f7;
  padding: 1px;
  cursor: default;
  transition: 0.2s ease;
  animation: fadeInUpCustom 0.7s ease;
}
.transactionDescriptionA:hover {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}
.transactionIconA{
  width: 32px;
  height: 32px;
}
.transactionCategoryA, #transactionAmountA{
  line-height: 100%;
  color: rgba(0, 0, 0, 0.6);
}
.transactionCategoryA{
  margin: 0px 5px;
  font-size: 19px;
  width: 50%;
  overflow-y: hidden;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}
.transactionCategoryA::-webkit-scrollbar{
  height: 6px; 
}
.transactionCategoryA::-webkit-scrollbar-track{
  background: transparent;
}
.transactionCategoryA::-webkit-scrollbar-thumb{
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.transactionCategoryA::-webkit-scrollbar-thumb:hover{
  background: rgba(0, 0, 0, 0.2);
}
.transactionAmountA {
  margin: 1px 0px 0px 0px;
  font-size: 20px;
  text-align: right;
  width: 34%;
}

