/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Header styles */
.site-header {
    background: linear-gradient(to right, #0062cc, #0056b3);
    color: whitesmoke;
    padding: 20px;
    text-align: center;
}

.site-header h1 {
    font-size: 36px;
    margin: 0;
}

.site-header h2 {
    font-size: 18px;
    font-style: italic;
    color: #a2d0b6;
    margin-top: 5px;
}

/* Navigation styles */
.navbar {
    padding: 10px 0;
}

.navbar .nav-link {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .nav-link:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.custom-menu {
    margin-left: 50px; /* Adjust this value to center the menu items */
}

/* Main content styles */
.main-content {
    padding: 20px;
}

/* Interactive section styles */
.interactive-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px 0;
}

.interactive-section > div {
    width: 45%;
    padding: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.interactive-section h2 {
    margin-bottom: 15px;
    color: #0d0e0e;
}

.existing-users, .students-residents {
    text-align: center;
}

.existing-users a {
    display: block;
    margin: 10px 0;
    text-decoration: none;
    font-weight: bold;
    color: #007bff;
}

.existing-users a:hover {
    color: #0056b3;
}

.students-residents input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer styles */
.site-footer {
    text-align: center;
    padding: 20px 0;
    background: #0062cc;
    color: whitesmoke;
    margin-top: 20px;
    border-top: 1px solid #0056b3;
}

.site-footer p {
    margin: 0;
}

/* Responsive design */
@media (max-width: 600px) {
    .interactive-section {
        flex-direction: column;
    }

    .interactive-section > div {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Login form styles */
.password-reset-container,
.registration-container, 
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.reset-form,
.registration-form,
.login-form {
    width: 320px; /* Adjust the width to make the form narrower */
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #FF5722; /* Use the color from your design */
    color: white;
}

.btn-google {
    background-color: #4285F4;
    color: white;
    text-decoration: none;
    line-height: 20px;
}

.btn-google:hover {
    background-color: #357ae8;
}

.form-errors {
    color: red;
    margin-bottom: 10px;
}

.error {
    margin: 0;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.9em;
    text-decoration: underline;
}

.password-container input {
    width: 100%;
    padding-right: 50px; /* Ensure there's space for the toggle button */
}

.about-container {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.about-container h2, .about-container h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.about-container p, .about-container ul {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.about-container ul {
    padding-left: 20px;
}

.about-container ul li {
    margin-bottom: 10px;
}

.about-container a {
    color: #007bff;
    text-decoration: none;
}

.about-container a:hover {
    text-decoration: underline;
}

.ibm-container {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    overflow: hidden;
    height: auto;
}

.ibm-container h1 {
    color: #0056b3;
    font-size: 20px;
    margin-bottom: 10px;
}

.ibm-container h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.ibm-container h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.ibm-container pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-left: 4px solid #0056b3;
    overflow-x: auto;
    font-size: 12px;
    margin-bottom: 15px;
}

.ibm-container iframe {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 20px;
    overflow-y: auto;
    box-sizing: border-box; /* Ensures padding/margins are included in height/width */
}

.ibm-container p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ibm-container ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.ibm-container li {
    font-size: 14px;
    line-height: 1.5;
}

#iframe1 {
    height: 500px;
}

#iframe2 {
    height: 400px;
}

#iframe3 {
    height: 300px;
}

iframe {
    box-sizing: border-box;
}
