.pageHeader { position: relative; padding: 25px 0; background-color: var(--black-medium); h4 { font-size: var(--page-header-size); text-align: center; color: white; } button { width: 40px; height: 40px; position: absolute; right: 15px; top: 15px; svg { width: 100%; height: 100%; fill: white; } } } .upfold { background-color: var(--black); border-bottom-left-radius: 30px; } .segments { text-align: center; padding: 5px 15px; background-color: var(--black-medium); // Writing this to avoid lines that show up in certain phone margin: -5px 0; button { padding: 5px 12px; border: 1px solid var(--dark-grey); border-radius: 20px; font-size: 12px; color: var(--light-grey); margin: 0 10px; font-weight: 500; &.active { background-color: white; color: var(--dark-grey); } } } .statisticalDetails { background-color: var(--black-medium); display: flex; align-items: stretch; justify-content: space-between; padding: 25px 40px; margin: 0 auto; border-bottom-left-radius: 30px; li { padding: 10px 15px; border-radius: 20px; color: white; width: calc(50% - 10px); &:nth-child(1) { background-color: var(--red); } &:nth-child(2) { background-color: var(--teal); } label { font-size: 12px; span { vertical-align: middle; letter-spacing: 0.5px; } svg { vertical-align: middle; width: 15px; height: 15px; fill: white; margin-right: 5px; } } h3 { font-weight: 500; font-size: 18px; margin-top: 10px; } } } .actions { white-space: nowrap; overflow-x: auto; padding: 15px 20px; li { display: inline-block; vertical-align: middle; margin: 0 10px; button { width: 40px; height: 40px; border: 1px solid var(--dark-grey); border-radius: 10px; display: block; margin: 0 auto 10px; } label { color: var(--light-grey); font-weight: 500; display: block; font-size: 12px; } } } .allTransactionsContainer { position: relative; background-color: var(--black); } .allTransactions { background-color: white; border-top-right-radius: 30px; padding: 20px 0; } .transactionCard { padding: 0 20px; header { display: flex; align-items: center; justify-content: space-between; h5 { font-size: 12px; font-weight: 500; color: var(--grey); } a { color: var(--teal); font-size: 12px; } } }