: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: rgb(207, 255, 238);
    opacity: 0.3;
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 9999;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #000
    }

    33% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #0002
    }

    100% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #000
    }
}

/* 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;
}

.preview {
    max-width: 200px;
    max-height: 200px;
}
/* Customs for Order Detail */

/* Searchable Dropdown */
.select-container {
    position: relative;
    width: 100%;
}

.custom-select {
    display: none;
}

.select-trigger {
    padding: .375rem .75rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d3e2;
    border-radius: .35rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
    min-height: calc(1.5em + .75rem + 2px);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
}

.select-trigger.placeholder {
    color: #999;
}

.select-search {
    width: 100%;
    padding: 12px 16px;
    /* font-size: 16px; */
    border: 1px solid #0066cc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    box-sizing: border-box;
    margin-bottom: -1px;
    display: none;
}

.select-search:focus {
    outline: none;
}

#country-code-dropdown {
    .dropdown-content {
        width: 400%;
    }

    .select-trigger {
        justify-content: start;
    }

    .code-size {
        font-size: 14px;
    }

    .arrow {
        right: 4px;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    text-align: start;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-open .dropdown-content,
.dropdown-open .select-search {
    display: block;
}

.dropdown-open .select-trigger {
    border-radius: 0;
    border-color: #0066cc;
    display: none;
}

.arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Searchable Dropdown */