:root {
    --color-primary-dark: #07364b;
    --color-primary-light: #c1c6c8;

    --color-supplementary-pink: #d5606b;
    --color-supplementary-blue: #e0fbfb;
    --color-supplementary-red: #da291c;
    --color-supplementary-gray: #f8f8f8;

    --text-color-dark: #07364b;
    --text-color-light: white;

    --font-size-title: 2.4rem;
    --font-size-bodyLarger: 1.8rem;
    --font-size-body: 1.5rem;
    --font-size-small: 1.2rem;
}

.center-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-viewport-80 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text.error {
    color: red;
    font-size: small;
}

.text.success {
    color: green;
    font-size: small;
}

.hyperlink {
    color: gray;
    text-decoration: underline;
    cursor: pointer;
}

.hyperlink:hover {
    color: var(--color-primary-dark);
}

/* Button */
.button-main {
    display: inline-block;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    width: 15rem;
    background-color: var(--color-primary-dark);
    color: white;
    border: 1px solid var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: var(--font-size-small);
    text-transform: uppercase;
}

.button-main:hover {
    background-color: white !important;
    color: var(--color-primary-dark) !important;
    border: 1px solid var(--color-primary-dark);
}

/* Loader */
/* HTML: <div class="loader"></div> */
.overlay {
    background: black;
    opacity: 0.3;
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 9999;
}
.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #abd2d2;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}

/* Customs for Order Detail */
.order-detail-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Arial, sans-serif;
}
.detail {
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: start;
    padding: 1rem;
    background-color: var(--color-supplementary-gray);


}
.label {
    text-align: start;
    font-size: .8rem;
    opacity: 60%;
}

.label-value{
    border-radius: 4px;
    margin-top: .5rem;
}
