:root {
    --table-line-color: #d4d4d4;
    --body-bg-color: #fafafa;
    --body-bg-color-transparent: #fafafad6;
    --blue-color: #0072a3;
    --red-color: #f24725;
    --green-color: #159669;
    --orange-color: #d8730e;
    --gradient-one: linear-gradient(270deg, #f22424, #f29c24, #24d5f2, #24b1f2, #27b062, #8fb027);
    --gradient-two: linear-gradient(270deg, #1e51c8c8, #ede0cf, #f45084, #80b7d1, #d0d04b, #dbb718);
}


.main-container {
    background-color: var(--body-bg-color);
}

.transaction {
    background: white;
    border-radius: 11px;
    max-width: 500px;
    margin: 0 auto;
}


.txn-container {
    background: white;
    text-align: center;
    width: 100%;
    position: relative;
}

.txn-content {
    position: relative;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
}

.txn-item {
    border-bottom: 1px solid var(--table-line-color);
}

.branding-container {
    background: var(--body-bg-color);
}

.txn-item.txn-description {
    color: #717171;
}


.txn-item.txn-amount.success {
    background: #0a7b47;
}

table.txn-header-table{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid var(--table-line-color);
}

table.txn-header-table td{
    border : 1px solid var(--table-)
}

td.data-column {
    line-height: 1;
    text-align: left;
}

.txn-amount .equiv-value {
    color: #8f8f8f;
}

button.btnCopy {
    position: absolute;
}

.txn-address .value {
    position: relative;
    font-weight: 700;
    word-break: break-all;
    color: var(--blue-color);
}

.txn-amount .value {
    position: relative;
    line-height: 1.6;
    font-weight: 600;
}

.currency {
    background: #ff5a00;
    border-radius: 5px;
    color: #fff;
    padding: 5px 13px;
    display: inline-block;
    margin: 5px;
    right: 0;
}

.network {
    background: #fff;
    color: #1f527e;
}

.invoice-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-color);
}

.payment-qr {
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
}


.payment-qr img {
    width: 180px;
    padding: 5px;
    background: var(--gradient-two);
    background-size: 1200% 1200%;

    -webkit-animation: animateProgress 5s ease infinite;
    -moz-animation: animateProgress 5s ease infinite;
    -o-animation: animateProgress 5s ease infinite;
    animation: animateProgress 5s ease infinite;
}

.id-label {
    color: #737373;
    margin-bottom: 0.5rem;
}

.txn-description {
    line-height: 1;
    font-size: 0.5rem;
}


.success-icon{
    color: #0a7b47;
    margin-bottom: 1rem;
}

.clock {
    font-size: 1.6rem;
    color: var(--red-color);
    font-weight: 700;
}

.main-container .clr-row{
    margin-left: 0;
    margin-right: 0;
}


.merchant-infos {
    color: #272727;
    font-weight: 300;
    background-color: var(--body-bg-color);
}

.transaction-infos {
    text-align: right;
}


.txn-footer{
    padding: 0.5rem;
    background: var(--body-bg-color);
}

.action-buttons {
    text-align: center;
}

.merchant-name-value {
    font-weight: 600;
}

.app-credits {
    text-align: center;
    font-size: 0.8rem;
    color: #c4c4c4;
}

.currency.network {
    font-weight: 600;
}

span.network-warning {
    display: inline-block;
    font-size: 0.6rem;
    line-height: 1;
    font-weight: 300;
    color: #7c8284;
}
button.btnCopy {
    padding: 2px 5px;
    font-size: 10px;
    margin-left: 5px;
    color: inherit;
    appearance: none;
    border: none;
    background: none;
}

span.text-success {
    color: #fff;
    border: none;
    font-size: 12px;
    padding: 1px 7.1px;
    border-radius: 5px;
    display: inline-block;
    margin-left: 0.2rem;
}

.expired {
    font-weight: 600;
    color: var(--red-color);
}

.received {
    color: var(--green-color);
}

.confirming {
    color: var(--blue-color);
}

.partial-paid {
    color: var(--orange-color);
}

.invoice-info {
    padding-bottom: 1rem;
}

#invoice-content {
    padding: 1rem 0;
}

div#clocker-invoice {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

#progressBar {
    width: 100%;
    margin: 0 auto;
    height: 5px;
    background-color: rgb(115, 115, 115);
}

div#invoice-status {
    padding: 1rem 0.5rem;
    border-radius: 12px;
}

#invoice-status div {
    margin-bottom: 1rem;
    display: inline-block;
}

#progressBar div {
    height: 100%;
    text-align: right;
    padding: 0 10px;
    line-height: 22px;
    color: #fff;
    width: 0;
    background: var(--red-color); 
    box-sizing: border-box;
    background-size: 1200% 1200%;
    -webkit-animation: animateProgress 3s ease infinite;
    -moz-animation: animateProgress 3s ease infinite;
    -o-animation: animateProgress 3s ease infinite;
    animation: animateProgress 3s ease infinite;
}

@-webkit-keyframes animateProgress {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes animateProgress {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes animateProgress {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes animateProgress {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/* --------------------------------------------------------------------------------------- */
/* Loader
/* --------------------------------------------------------------------------------------- */

.o-page-loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity .5s;
    background: var(--body-bg-color);
    z-index: 999;
}

.o-page-loader--content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.o-page-loader--spinner {
    width: 40px;
    height: 40px;
    background-color: var(--blue-color);
    margin: 20px auto;
    animation: rotate-plane 1.2s infinite ease-in-out;
    -webkit-animation: rotate-plane 1.2s infinite ease-in-out;
}

.o-page-loader--message {
    color: var(--blue-color);
    font-weight: bold;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
}

/* --------------------------------------------------------------------------- */
/* Animation - Loading Spinner
/* --------------------------------------------------------------------------- */

@-webkit-keyframes rotate-plane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes rotate-plane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}