@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Figtree", sans-serif;
    background-color: #FAFAFA;

}

a.active,
a:focus,
button:focus,
button.active {
    outline: none;
}

a {
    text-decoration: none;
}

a:focus,
a:hover,
a:active {
    outline: 0;
}

a:focus,
a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul li {
    list-style: none;
}

p {
    margin: 0;
    padding: 0;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

img {
    border-style: none;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/**********/
.login-sec {
    padding: 16px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
    padding: 40px;
    max-width: 586px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-title {
    text-align: center;
    margin-top: 36px;
}

.form-title h2 {
    color: #323232;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
}

.login-box form {
    margin-top: 22px;
}

.login-form-group {
    margin-bottom: 26px;
}

.login-form-group:last-child {
    margin-bottom: 0;
    padding-top: 14px;
}

.label-text {
    color: #1A1A19;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.14px;
    display: block;
    margin-bottom: 4px;
}

.login-form-control {
    border-radius: 8px;
    background: #F3F4F8;
    border: 1.5px solid #F3F4F8;
    padding: 12px;
    height: 48px;
    border: none;
    color: #424D6B;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.17px;
    width: 100%;
    caret-color: #1246DA;
}

.login-form-control::placeholder {
    color: #424D6B;
}

.error-text {
    color: #D43D00;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 4px;
    letter-spacing: 0.14px;
    display: none;
}

.register-btn {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.32px;
    border-radius: 12px;
    background: #005D6D;
    height: 56px;
    max-width: 244px;
    width: 100%;
    margin: 0 auto;
    padding: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.register-btn:hover {
    background-color: #2799AD;
    transition: all 0.5s ease-in-out;
}

/**** PRODUCT PAGE ******/
.product-btn {
    background-color: #F3F4F8;
    height: 48px;
    border-radius: 8px;
    color: #424D6B;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.17px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.product-btn span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
}

.product-btn span img {
    transition: transform 0.3s ease;
}

.product-btn.active span img {
    transform: rotate(180deg);
}

.selected-products {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-dropdown {
    background-color: #F3F4F8;
    border-radius: 8px;
    margin-top: 12px;
    display: none;
}

.product-dropdown.active {
    display: block;
}

.product-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #424D6B;
    font-size: 17px;
    font-style: normal;
    border-bottom: 1px solid #E2E2E2;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.17px;
    padding: 12px 32px;
    position: relative;
}

.product-dropdown li:last-child a {
    border: none;
}

/***** CHECKBOX ******/
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 48px;
    height: 48px;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
}

/* Hide default checkbox */
.custom-checkbox input {
    display: none;
}

/* Box */
.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #1A1A19;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}


.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked+.checkmark {
    border: none;
}

.custom-checkbox input:checked+.checkmark::after {
    display: block;
}

/* Tick style */
.custom-checkbox .checkmark::after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/check-icon.svg') no-repeat;
    background-size: cover;
    background-position: center center;
}

@media screen and (max-width:575px) {
    .logo img {
        height: 36px;
    }

    .form-title {
        margin-top: 24px;
    }

    .login-box {
        padding: 24px;
    }

    .register-btn {
        max-width: 200px;
    }

    .login-form-group:last-child {
        margin-bottom: 0;
        padding-top: 0;
    }

    .product-btn span {
        width: 38px; 
    }
    .custom-checkbox{
        height: 44px;
    }

    .product-btn span img {
        height: 8px;
    }

    .product-btn {
        font-size: 14px;
        line-height: 16px;
        padding-right: 40px;
    }

    .product-dropdown a {
        font-size: 14px;
        line-height: 24px;
        padding: 10px 16px;
    }
}