/* Contains styling for informational pages */

/* Info page styling */
#info-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-blue);
    min-height: calc(100vh - 200px);
    position: relative;
    width: 100%;
    line-height: 1.4; 
}

.info-content {
    width: 70%;
    max-width: 1000px;
    margin: 0px 30px 50px 30px;
    border-radius: 30px;
    background-color: var(--off-white);
    padding: 17px 65px 35px 65px;
}

.info-content-top {
    margin-top: 120px;
}

.info-content > p {
    text-align: justify;
    margin-bottom: 20px;
}

.info-content > h2 {
    margin-top: 20px;
}

.info-content ul {
    list-style-type: disc; /* Ensures bullet points are displayed */
    /* margin-left: 20px; Indent the list to align with paragraph text */
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--dark-blue);
}

/* Spacing for list items */
.info-content ul li {
    margin-bottom: 10px; /* Space between each bullet point */
}

.info-content ul li:last-child {
    margin-bottom: 20px; /* Space under the last bullet point */
}

@media (max-width:624px) {
    .info-content {
        margin: 0px 10px 15px 10px;
        width: calc(100vw - 20px);
        padding: 15px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .info-content-top {
        margin-top: 80px;
    }
    .info-content > h2 {
        margin-top: 10px;
    }
}



/* T&Cs NAVIGATION */
/* Styling for Table of Contents */

#table-of-contents ul {
    list-style-type: none;
    padding-left: 0;
}

#table-of-contents ul li {
    margin-bottom: 10px;
}

#table-of-contents ul li a {
    text-decoration: none;
    color: var(--mid-blue);
    font-weight: bold;
}

#table-of-contents ul li a:hover {
    text-decoration: underline;
    color: var(--dark-blue);
}

/* Add a margin at the top of each section to account for the fixed header */
#terms, #privacy, #ip {
    scroll-margin-top: 120px; /* Adjust this value based on the height of your fixed menu bar */
}

/* Smooth scroll behavior for better navigation */
html {
    scroll-behavior: smooth;
}



/* CONTACT FORM */
/* Styling for the form elements */

#contact-form > form,
#knowledge-section > form {
    margin-top: 30px;
}

#contact-form label,
#knowledge-section label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--dark-blue);
}

#contact-form input[type="text"], 
#contact-form input[type="email"], 
#contact-form textarea,
#knowledge-section input[type="email"]{
    width: 100%;
    padding: 10px;
    margin-top: 1%;
    margin-bottom: 20px;
    border: 1px solid var(--mid-blue);
    border-radius: 5px;
    font-size: 1.2rem;
    box-sizing: border-box;
}

#contact-form textarea {
    resize: vertical;
}






/* Button styling */
#contact-form .button,
#knowledge-section .button {
    background-color: white;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    margin-top:5px;
}

#contact-form .button:hover,
#knowledge-section .button:hover {
    background-color: var(--green);
}

/* Email address styling */
#contact-form a,
#knowledge-section a {
    color: var(--mid-blue);
    text-decoration: none;
}

#contact-form a:hover,
#knowledge-section a:hover {
    text-decoration: underline;
}



.close:hover,
.close:focus {
    color: var(--dark-blue);
    text-decoration: none;
    cursor: pointer;
}

.link-button {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

/* USER ROUTES CSS */

/* Password strength indicator */
.password-strength {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 0px;
    color: var(--dark-blue);
    letter-spacing: 1px;
}

.password-strength.weak {
    color: red;
}

.password-strength.medium {
    color: orange;
}

.password-strength.strong {
    color: green;
}

/* Checkbox styling */
#registration-form label input[type="checkbox"] {
    margin-right: 8px;
}



/* Password reset page */
.centered-content {
    text-align: center;
    padding: 20px;
}

.password-reset-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 400px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.input-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Danger Button */
.button.danger {
    background-color: var(--red);  /* Bootstrap-like danger red */
    border-color: #c9302c;
    color: white;
    font-weight: normal;
}

.button.danger:hover {
    background-color: #c9302c;  /* Darker red on hover */
}

.button.danger:active {
    background-color: #ac2925;  /* Even darker red when clicked */
}

.button.danger:disabled {
    background-color: #e0a9a7;
    cursor: not-allowed;
    opacity: 0.6;
}


/* Resend form section */
#resendSection {
    margin-top: 20px;
}

#resendMessage {
    margin-top: 10px;
    font-weight: bold;
}





/* STYLING OF INPUT FORMS */
/* .form-wrapper {
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: calc(100% - 24px);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--mid-blue);
    box-shadow: 0 0 4px var(--mid-blue);
}

textarea {
    resize: vertical;
}

/* Checkbox group styling */
.checkbox-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* .checkbox-group input {
    width: auto;
    margin: 0;
} */


/* Account actions */
.account-actions {
    margin-top: 20px;
    text-align: center;
}

.link-button {
    color: #0070f3;
    text-decoration: none;
    font-weight: bold;
}

.link-button:hover {
    text-decoration: underline;
}

/* Update the checkbox group styling */
.checkbox-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Make the checkbox larger */
.checkbox-group-inline input[type="checkbox"] {
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.custom-checkbox {
    transform: scale(1.75); /* Scale the checkbox size */
    margin: 0 10px 5px 0; /* Remove any default margin */
    cursor: pointer;
}

/* Ensure the label aligns properly with the checkbox */
.checkbox-group-inline label {
    font-size: 14px;
    cursor: pointer;
}


.button-top-padding {
    margin-top:20px;
}



