@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");



:root {
    --box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    text-decoration: none;
    list-style: none;
    font-family: Bahnschrift;
}

h3 {
    text-align: center;
    margin-bottom: 20px;
    text-decoration: underline solid #393e46 3px;
    text-underline-offset: 5px;
    font-size: 24px;
}

.outer-wrap {
    width: 100%;
    min-height: 100vh;
    background-color: #f5f7fa;
    padding: 30px;
}

.inner-wrap {
    max-width: 1200px;
    margin: auto;
}


.heading {
    margin: 10px auto 40px auto;
}

.heading .title {
    font-size: 30px;
    color: #000000;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    font-family: Castellar;
}

.heading .subtitle {
    font-size: 15px;
    color: #000000;
    font-weight: 300;
    text-align: center;
    font-family: Castellar;
    text-transform: capitalize;
}

.heading .description {
    text-align: center;
    padding-top: 10px;
    color: #05b64f;
    font-style: italic;
    font-size: 18px;
}

.transaction-control {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px auto;
}

.actions,
.stats {
    flex-grow: 1;
    background-color: #fff;
    padding: 20px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    margin: 10px 0;
}


.actions .add {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.actions .add input {
    font-size: 18px;
    padding: 5px;
    margin: 10px;
}

.actions .add input[type="submit"] {
    padding: 7px 15px;
    border-radius: 5px;
    border: none;
    background: #2666cf;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.stats p {
    margin: 20px;
    padding: 10px 20px;
    box-shadow: var(--box-shadow);
    font-size: 18px;
    border-radius: 5px;
    text-align: center;
}
.stats p span {
    font-weight:900;
    /* text-decoration:underline; */
}
.stats p.balance {
    background: #fff2dd92;
    border-right:10px solid #f6c065;
}
.stats p.income {
    background: #e7fff1ad;
    border-right:10px solid #16c77a;
}
.stats p.expense {
    background: #ffeef0bb;
    border-right:10px solid #eb596e;
}

.transaction-history {
    margin: 20px 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 0;
    box-shadow: var(--box-shadow);
}

.records {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 20px;
    flex-wrap: wrap;
}

.records span{
    font-size: 18px;
}

.records div {
    flex-grow: 1;
    padding: 10px;
}

.records li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #ffffff;
    margin: 12px 0;
    min-width: 250px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
}

.records .income li{
    border-left: 10px solid #2ecc71;
}

.records .expense li{
    border-left: 10px solid #df5e5e;
}

.records li p:first-child{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.records span#time{
    color: #717171;
    font-size: 12px;
}

.records i.delete {
    margin-left: 15px;
    color: #082032;
    cursor: pointer;
    font-size: 18px;
}

.records i.delete:hover{
    color: red;
}

/* .income .income-list li:last-child{
    font-weight: 900;
} */