body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.signup-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.terms-button {
    background-color: #79adbb;
    color: white;
    border: none;
    padding: 5px 35px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 80px 0px 40px;
}

.terms-button:hover {
    background-color: #0d253c;
}

.terms-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.terms-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 24px;
    margin-top: 70px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -15px;

}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
}

.terms-modal-body {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    margin-top: 15px;
    width: 100%;
}

.terms-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.terms-container {
    background-color: #f9f9f9;
    width: 100%;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.terms-sidebar {
    background-color: #0d253c;
    width: 280px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #333;
    white-space: nowrap;
    position: fixed;
    top: 88px;
    left: 0;
    height: 100%;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .terms-sidebar {
        z-index: 1000;
        height: auto;
        width: 100%;
        text-align: left;
    }

    .terms-content {
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: auto;
        /* Ensure content width adjusts to screen size */
        height: 650px;
    }

    .terms-container {
        padding-top: 180px;
    }
    
.terms-button {
    background-color: #79adbb;
    color: white;
    border: none;
    padding: 5px 35px;
    border-radius: 5px;
    cursor: pointer;
    margin:0px 10px 0px 0px;
}

.terms-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 24px;
    margin-top: 145px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

}


@media only screen and (max-width: 768px) {

    .Nav_Previewr {
        width: 280px;
        /* height: 102px; */
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        /* margin: 0 0 768px; */
        margin: 0;
        padding-top: 5px;
        padding-bottom: 5px;
        background-color: #fff;
    }
}

.terms-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    margin-left: 300px;
    margin-right: 25px;
    z-index: 99;
    /* margin-top : 500px; */

}

.terms-header-group {
    margin:21px 10px 15px 0px;
    display: flex;
    flex-direction: column;
}


.terms-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #24415e;
    /* margin-top: 100px; */
}

.terms-sub-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #24415e;
    margin-bottom: 16px;
}

.terms-date {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: italic;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #24415e;
}

.terms-sub-content {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #000000;
    margin: 38px 10px 30px 0;
}

.terms-sidebar ul {
    padding-left: 0;
    padding-right: 0;
    list-style: none;
    margin-bottom: 0;
}

.terms-sidebar ul li {
    padding: 18px 60px;
}

.terms-sidebar ul li a {
    color: #FFFFFF;
    text-decoration: none;
    background-color: transparent;
}

.terms-sidebar ul li.active {
    background-color: #24415e;
    border-radius: 8px;
    padding: 18px 60px;
    color: #FFFFFF;

}

.navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    margin-left: 0px;
    padding-left: 0%;
    z-index: 1;
}

.Nav_Previewr {
    width: 280px;
    /* height: 102px; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    /* margin: 0 0 768px; */
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff;
}

.navbar {
    box-shadow: rgb(26 26 26 / 20%) 0px 0px 2px;
    margin-left: -8px;
}

nav {
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 100%;
}

.align-items-stretch {
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #0d253c;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0d253c;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #0d253c;
}

.validation-msg {
    color: red;
    display: none;
}