@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --primary-color: #F5A623;
    --body-color: #F7F7F8;
    --text-color: #585858;
    --manrope-font-family: "Manrope", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

body {
    background-color: var(--body-color) !important;
    font-family: var(--manrope-font-family) !important;
}

/* common css */
.cdcp-mb-20 {
    margin-bottom: 20px;
}

.cdcp-mb-40 {
    margin-bottom: 40px;
}

.cdcp-d-flex {
    display: flex;
}

.cdcp-flex-column {
    flex-direction: column;
}

.cdcp-gap-10 {
    gap: 10px;
}

.cdcp-justify-end {
    justify-content: end;
}

.cdcp-justify-space-between {
    justify-content: space-between;
}

.cdcp-row {
    display: flex;
    flex-wrap: wrap;
}

.cdcp-col-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 5px;
}

.cdcp-col-12 {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 5px;
}

.cdcp-px-10 {
    padding: 0 10px;
}

/* end common css */

.cdcp-auth-container {
    width: 450px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff;
}

.cdcp-auth-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding-bottom: 30px;
    justify-content: center;
}

.cdcp-auth-desc {
    color: #888888;
    text-align: center;
    max-width: 300px;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.cdcp-form-group {
    width: 100%;
    display: flex;
    position: relative;
    align-items: start;
    flex-direction: column;
}

.cdcp-form-label {
    font-size: 14px;
    color: #585858;
    font-weight: 700;
    line-height: 20px;
    display: block;
    margin-bottom: 10px;
}

.cdcp-form-control {
    padding: 0 20px !important;
    height: 48px;
    width: 100% !important;
    font-weight: 400;
    font-size: 15px;
    outline: none;
    line-height: 24px;
    border: none !important;
    background-color: var(--body-color) !important;
    border-radius: 10px !important;
    color: #353648;
}

.cdcp-form-control::placeholder {
    color: #999;
}

.cdcp-button {
    width: 100%;
    cursor: pointer;
    height: 48px;
    border: 0;
    padding: 0 20px;
    align-items: center;
    letter-spacing: 0.5px;
    color: #ffffff;
    justify-content: center;
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
    background-color: var(--primary-color);
    color: #431505;
}

.cdcp-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.cdcp-terms-privacy-text {
    color: #3377FF;
    text-decoration: none;
}

/* checkbox css */
.cdcp-radio-check-container {
    display: flex;
    cursor: pointer;
    user-select: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #585858;
    font-weight: 500;
    line-height: 20px;
}

.cdcp-radio-check-container .cdcp-input {
    display: none;
}

.cdcp-checkmark {
    min-width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, .1);
    border-radius: 4px;
    display: inline-block;
    margin-right: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.cdcp-checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cdcp-radio-check-container .cdcp-input:checked+.cdcp-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cdcp-radio-check-container .cdcp-input:checked+.cdcp-checkmark::after {
    opacity: 1;
}

/*  */

.cdcp-radiomark {
    min-width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, .1);
    border-radius: 4px;
    display: inline-block;
    margin-right: 6px;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 50%;
    background-color: #ffffff;
}

.cdcp-radiomark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background-color: #ffffff;
    border-radius: 50%;
}

.cdcp-radio-check-container .cdcp-input:checked+.cdcp-radiomark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cdcp-radio-check-container .cdcp-input:checked+.cdcp-radiomark::after {
    opacity: 1;
}

/* end checkbox css */

.cdcp-auth-change-text {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    margin: 0;
}

.cdcp-auth-change-text a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}

.cdcp-user-type-container {
    display: flex;
    gap: 20px;
    background-color: #F7F7F8;
    width: 100%;
    border-radius: 10px;
    padding: 14px;
}

.cdcp-forgot-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cdcp-password-container {
    width: 100%;
    position: relative;
}

.cdcp-show-hide-password-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9e9e;
    cursor: pointer;
    font-size: 16px;
}

@media only screen and (max-width: 600px) {
    .cdcp-auth-container {
        width: 90%;
        padding: 20px;
    }

    .cdcp-forgot-container {
        flex-direction: column;
        gap: 10px;
    }

    .cdcp-row {
        flex-direction: column;
    }

    .cdcp-col-6 {
        width: 100%;
    }
}

.cdcp-loading-container,
.cdcp-alert-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(1px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cdcp-loading-content {
    padding: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #000000;
}

.cdcp-loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 20px;
    height: 20px;
    -webkit-animation: cdcp-spin 1s linear infinite;
    animation: cdcp-spin 1s linear infinite;
}

@-webkit-keyframes cdcp-spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes cdcp-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cdcp-alert-content {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    padding: 14px 14px 20px 20px;
    background-color: #ffffff;
}

.cdcp-alert-close-icon {
    font-size: 30px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 30px;
    cursor: pointer;
}

.cdcp-alert-icon {
    height: 42px;
    min-width: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 26px;
}

.cdcp-alert-icon-success {
    background: #DCFAE6;
    color: #1B794B;
}

.cdcp-alert-icon-danger {
    background: rgba(255, 0, 0, .2);
    color: rgba(255, 0, 0, .8);
}

.cdcp-alert-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cdcp-alert-desc {
    font-size: 15px;
    font-weight: 400;
}