@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap');
@import "fonts.css";

/* :root {
    --header1Height: 78px;
    --header2Height: 100px;
    --footerHeight: 35vh;
    --headerParentDivHeight: calc(var(--header1Height) + var(--header2Height));
} */

::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    background-color: #f4f3f3;
    margin-top: 3px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px #6f42c1;
    border-radius: 10px;
}




.content {
    flex: 1;
    gap: 20px;
    padding: 5% 10%;
    /* min-height: 90vh; */
    /* background: rgb(216, 209, 209); */
    background: url("../images/bg-faqs.jpg");
    background-size: contain;
    background-position: 32vw;
}

.contentChild {
    /* width: 100%; */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    /* border: 1px solid mediumpurple; */
    /* background: #f6e5ffc9; */
    background: #eaecf8;

    /* border-radius: 15px; */
    /* box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
        5px 5px 30px rgba(0, 0, 0, 0.1),
        -5px -5px 15px rgba(255, 255, 255, 0.9),
        -5px -5px 30px rgba(255, 255, 255, 0.9),
        inset 5px 5px 15px rgba(255, 255, 255, 0.9),
        inset 5px 5px 30px rgba(255, 255, 255, 0.9),
        inset 5px 5px 15px rgba(0, 0, 0, 0.1),
        inset 5px 5px 30px rgba(0, 0, 0, 0.1); */
    /* box-shadow: inset 10px 10px 5px rgba(255, 255, 255, 1),
        inset -5px -5px 5px rgba(0, 0, 0, 0.1),
        -1px -1px 20px rgba(0, 0, 0, 0.5); */
}


.detailsBox {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* padding: 10px; */
    height: max-content;
    /* border: 1px solid; */
}

.content .userHeading {
    /* border: 1px solid black; */
    /* width: 30%; */
    /* width: 30vw; */
    font-weight: bold;
    font-size: 1.3em;
}

.content .userValue {
    /* flex: 1; */
    /* width: 50%; */
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 0.8em;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
    /* border: 1px solid; */
}

.shadow {
    /* box-shadow: inset -1px -1px 5px rgba(255, 255, 255, 0.5),
        inset 1px 1px 5px rgba(0, 0, 0, 0.3); */

}

.password-form {
    display: none;
    margin-top: 20px;
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
    width: 70%;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
}

form input[type="password"] {
    padding: 5px 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form input[type="submit"],
form button {
    padding: 5px 20px;
    margin-bottom: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button {
    background-color: red;
}

/* form .submitBox{
    border: 1px solid black;
} */

.submitBox {
    padding: 12px;
}

#manageSubscription {
    /* flex: 0.6 */
    display: inline-block;
    width: max-content;
    padding: 5px;
    cursor: pointer;

    border-radius: 5px;
    background: #6e4a9b;
    color: #fff;
}

#changePasswordButton {
    /* flex: 0.6 */
    /* display: inline-block; */
    width: max-content;
    padding: 10px;
    cursor: pointer;

    border-radius: 5px;
    background: #6e4a9b;
    color: #fff;
}

.loader {
    position: fixed;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);
    min-height: 100vh;
}

.loader img {
    height: 50vh;
}



.realStateAgentProfileBox {
    /* border: 1px solid; */
    position: relative;
    flex: 1;
    background: #eaecf8;
    padding: 20px;
}

.realStateAgentProfileEditButton {
    /* position: absolute;
    top: -28px;
    right: 10px;
    border-radius: 5px;
    font-weight: bold;
    padding: 5px;
    margin: 0px;
    width: 35px;
    height: 35px;
    background: transparent !important;
    color: black; */
}

.realStateHeading {
    font-size: 20px;
    font-weight: bold;
    color: #d02baf;
}


body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
button {
    margin-bottom: 16px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    background-color: #4caf50;
    color: white;
    cursor: pointer;
}

button.edit {
    background-color: rgb(110, 74, 155);
}

.realStateAgentProfileBox input[readonly] {
    background-color: transparent;
    border: none;
    pointer-events: none
}




#profilePicture {
    color: transparent;
    display: flex;
}

#profilePicture::-webkit-file-upload-button {
    visibility: hidden;
}

#profilePicture::before {
    content: 'Select Image';
    color: #fff;
    /* display: inline-block; */
    /* background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3); */
    background-color: #D02BAF;
    /* border: 1px solid #999; */
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    /* text-shadow: 1px 1px #fff; */
    /* font-weight: 700; */
    font-size: 10pt;
    width: max-content;
    margin: auto;
    ;
}

#profilePicture:hover::before {
    border-color: black;
    opacity: 0.8;
}

#profilePicture:active {
    outline: 0;
}

#profilePicture:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

#profilePicBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* width: 50vw; */
}

#profileImageTag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

@media (max-width: 1000px) {
    .content {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .content {
        background-size: 160vw;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .loader img {
        height: 25vh;
    }

    .password-form {
        margin-top: 0px;
    }

    .content .userHeading {
        /* border: 1px solid black; */
        /* width: 30%; */
        font-weight: bold;
        font-size: 1em;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    form label {
        margin-bottom: 0px;
        font-size: 0.75em;

    }

    /* form input[type="password"] {
        padding: 2px 5px;
    } */
}

@media (max-width: 425px) {
    .loader img {
        height: 35vh;
    }

    .content {
        /* min-height: 60vh; */
        background-size: 800px;
    }

    .content .userHeading {
        /* border: 1px solid black; */
        width: 40%;
        font-weight: bold;
        font-size: 1em;
    }

    #changePasswordButton {
        border-radius: 5px;
        background: #6e4a9b;
        color: #fff;
        font-size: 0.8em;
    }



    form input[type="password"] {
        padding: 2px 5px;
        margin-bottom: 15px;
        margin-bottom: 10px;

    }

    form input[type="submit"],
    form button {
        padding: 2px 20px;
        padding: 2px 5px;
    }

    #profilePicBox {
        width: 18vw;
    }

}