body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

.terms-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    margin: 0 auto;
    max-width: 1390px;
    overflow: auto;
    width: 100%;
}

.terms-container h1 {
    color: black;
    text-align: center;
    text-transform: uppercase;
    margin-top: 2rem;
    font-family: Inter;
    font-weight: bolder;
    font-size: 50px;
}

/* Wrapper Styling */
.content-wraper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Agreement Content Styling */
.agreement-content__wrapper__text {
    line-height: 1.8;
    color: #555 !important;
    font-size: 24px;
    font-weight: 600;
    overflow: scroll;
    overflow-x: hidden;
    height: 600px;
    width: 100%;
    background-color: #f6f6f6;
    padding: 40px;
}

.right-align {
    text-align: right !important;
}

.agreement-content__wrapper__text::-webkit-scrollbar {
    width: 6px;
}

.agreement-content__wrapper__text::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 8px;
}

.agreement-content__wrapper__text::-webkit-scrollbar-track {
    background: #eee;
}

/* Paragraph Styling */
.agreement-content__wrapper__text p {
    margin-bottom: 16px;
    color: #242424 !important;
    font-family: Inter;
    /* Adjust to match the font used */
    font-size: 22px;
    /* Adjust size as needed */
    font-weight: 600;
    /* Can be bold if required */
    letter-spacing: 1px;
    /* Adds spacing between characters */
    line-height: 1.5;
    /* Adjusts the spacing between lines */
    text-transform: uppercase;
    /* Converts text to uppercase */
    text-align: justify;
    /* Aligns text to the left */
    margin: 20px 0;
}

.agreement-content__wrapper__text p strong {
    font-weight: 700;
    color: #242424;
    text-transform: uppercase;
    /* Converts text to uppercase */
}

.agreement-content__wrapper__text span {
    display: block;
    color: #242424 !important;
    font-family: Inter;
    /* Adjust to match the font used */
    font-size: 22px;
    /* Adjust size as needed */
    font-weight: 600;
    /* Can be bold if required */
    letter-spacing: 1px;
    /* Adds spacing between characters */
    line-height: 1.5;
    /* Adjusts the spacing between lines */
    text-transform: uppercase;
    /* Converts text to uppercase */
    text-align: justify;
    /* Aligns text to the left */
    margin: 20px 0;
}

/* Responsive Text */
.agreement-content__wrapper__text span,
.agreement-content__wrapper__text p {
    word-wrap: break-word;
}

/* Headings */
.agreement-content__wrapper__text strong {
    font-size: 30px;
    margin-top: 20px;
    display: inline-block;
    text-transform: uppercase;
    /* Converts text to uppercase */
}

/* Links and Highlighting */
.agreement-content__wrapper__text a {
    color: #007bff;
    text-decoration: none;
}

.agreement-content__wrapper__text a:hover {
    text-decoration: underline;
}

.back {
    width: 150px;
    margin-left: -1rem;
}

.agreement-header a {
    --button-bg-color: #f8f9fa;
    --button-hover-color: #e2e6ea;
    --button-border-radius: 8px;
    --button-text-color: #212529;

    background-color: var(--button-bg-color);
    border-radius: var(--button-border-radius);
    padding: 10px 15px;
    text-decoration: none;
    color: var(--button-text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.agreement-header a:hover {
    background-color: var(--button-hover-color);
    text-decoration: none;
}

.bi {
    font-size: 1.2rem;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Optional: Adding some custom styling */
.navbar-brand img {
    max-height: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .content-wraper {
        padding: 15px;
        margin: 10px;
    }

    .agreement-content__wrapper__text {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .content-wraper {
        padding: 10px;
    }

    .agreement-content__wrapper__text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .full-width {
        width: 360px;
        margin-left: 15px;
    }

    .container {
        padding: 0;
        /* Removes default padding from Bootstrap container */
    }
}
