body, html {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

#meesho-credits-wrapper {
    max-width: 600px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
}

.meesho-credits-header {
    padding: 18px 16px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    max-width: 600px;
    box-sizing: border-box;
}

.header-back-btn {
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    padding: 29px 16px;
}

.header-back-btn span {
    width: 14px;
    height: 2px;
    background: #757575;
    display: block;
}

.header-back-btn span:after, .header-back-btn span:before {
    content: "";
    width: 10px;
    height: 2px;
    background: #757575;
    display: inline-block;
    position: absolute;
    left: 14px;
}

.header-back-btn span:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    top: 32px;
}

.header-back-btn span:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    top: 26px;
}

.header-text {
    color: #212121;
    font-size: 16px;
    line-height: 24px;
    margin-left: 48px;
}

.meesho-credits-total {
    text-align: center;
    background-image: url("https://static.meeshosupply.com/meesho-credits/meesho-credits-bg.png"), linear-gradient(to right, #f64976, #fa86be);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 30px 0 12px;
    min-height: 107px;
    box-sizing: border-box;
    margin-top: 60px;
    width: 100%;
    z-index: 1;
    max-width: 600px;
}

.meesho-credit-banner {
    display: none;
    padding: 20px 16px;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    max-width: 600px;
    box-sizing: border-box;
    background: #f0f0f0;
}

.meesho-credit-banner-spend {
    color: #f759a0;
    display: inline-block;
    text-align: right;
    width: 29%;
    text-decoration: none;
}

.meesho-credit-banner-text {
    display: block;
    text-align: left;
    width: 70%;
    float: left;
}

.meesho-credits-total-amount {
    font-size: 36px;
    line-height: 42px;
    visibility: hidden;
}

.meesho-credits-total-text {
    margin-top: 4px;
    font-size: 16px;
    line-height: 19px;
}

.meesho-credits-total-msg {
    margin-top: 4px;
    font-size: 12px;
    line-height: 14px;
}

.meesho-credits-transactions-title {
    padding: 20px 16px;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    max-width: 600px;
    box-sizing: border-box;
    background: #ffffff;
}

.meesho-credits-tabs {
    border-bottom: 1px solid #f2f2f2;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
}

.meesho-credits-tabs-bar {
    width: 80px;
    clear: both;
    bottom: 0;
    display: block;
    background-color: #f76c9c;
    height: 2px;
    position: absolute;
    transition: all .4s cubic-bezier(.23, 1, .32, 1);
    left: 0;
}

.meesho-credits-tab-item {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    padding: 15px 25px;
    color: #616161;
    width: 80px;
    text-align: center;
    box-sizing: border-box;
}

.meesho-credits-transactions-details {
    position: relative;
}

.meesho-credits-tab-item.active-tab {
    color: #f76c9c;
}

.meesho-credits-tab-content {
    padding: 0 16px 0 16px;
    overflow: auto;
    max-height: calc(100% - 220px);
}

.meesho-credits-tab-content.non-zero-wallet {
    max-height: calc(100% - 332px);
}

.meesho-credits-transactions-item {
    display: flow-root;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2;
}

.meesho-credits-transactions-top {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 6px;
}

.meesho-credits-transactions-top > div {
    display: inline-block;
}

.meesho-credits-transaction-amount {
    float: right;
    color: #f5222d;
    width: 30%;
    text-align: right;
}

.meesho-credits-transaction-amount.transaction-type_credit {
    color: #01b460;
}

.meesho-credits-transaction-msg {
    color: #4f5153;
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meesho-credits-transactions-bottom-left {
    color: #9e9ea2;
    font-size: 11px;
    line-height: 1;
    width: 50%;
    float: left;
}

.meesho-credits-transactions-bottom-right {
    color: #9e9ea2;
    font-size: 11px;
    line-height: 1;
    width: 50%;
    float: left;
    text-align: right;
}

#no-transactions-text, #zero-credits-text {
    font-size: 13px;
    line-height: 18px;
    color: #707477;
    padding: 20px;
}

#no-transactions-btn, #error-btn {
    background-image: linear-gradient(to right, #f64976, #ff85c0);
    color: #ffffff;
    font-size: 14px;
    line-height: 16px;
    border-radius: 2px;
    text-align: center;
    padding: 16px 0;
    margin: 0 30px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

#error-btn:active {
    background-image: linear-gradient(to right, #f40b49, #ff4da3);
    transition: all 0.3s ease-in-out;
}

#meesho-no-transactions {
    display: none;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 254px);
}

#no-transactions-img {
    width: 108px;
    margin: 0 auto;
}

#no-transactions-img img {
    width: 100%;
}

#showbox {
    height: calc(100vh - 254px);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.lds-ring {
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    margin: 10px auto;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 4px;
    border: 4px solid #d62d20;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite, color 6s ease-in-out infinite;
    border-color: #d62d20 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes color {
    100%,
    0% {
        border-color: #d62d20 transparent transparent transparent;
    }
    40% {
        border-color: #0057e7 transparent transparent transparent;
    }
    66% {
        border-color: #008744 transparent transparent transparent;
    }
    80%,
    90% {
        border-color: #ffa700 transparent transparent transparent;
    }
}

#error-img {
    display: none;
}

.tnc-link {
    display: inline-block;
    text-decoration: none;
    color: #212121;
    position: absolute;
    top: 19px;
    right: 16px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #212121;
    line-height: 20px;
    width: 20px;
    text-align: center;
}
