/*  app/auth/static/css/register.css */

/* Set the background color for the entire body */
body {
    background-color: #0a0f0d; /* Dark green background */
    color: #fff; /* White text color */
    font-family: Arial, sans-serif; /* Font style */
}

/* Center the main content vertically and horizontally */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px); /* Full height minus header and footer */
    padding: 20px;
}

/* Layout for the login page */
.login-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* Text section on the login page */
.login-text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.login-text h1 {
    color: #fff; /* White heading color */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.login-text p {
    color: #fff; /* White text color */
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: #28a745; /* Button green color */
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin-right: 10px;
}

.cta-button.secondary {
    background-color: #218838; /* Darker green for secondary button */
}

.cta-button:hover {
    background-color: #218838; /* Darker green button hover color */
}

.cta-button.secondary:hover {
    background-color: #1e7e34; /* Even darker green for secondary button hover */
}

/* Container for form centering and styling */
.form-container {
    flex: 1;
    max-width: 400px;
    background-color: #e5eee9; /* Slightly lighter dark green for form container */
    color: #0d0e0e; /*  text color */
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
    margin-top: 5rem;
}

/* Page heading style */
.form-container h1 {
    color: #218838; /* White heading color */
    margin-bottom: 20px;
}

/* Grouping form fields for better styling */
.form-group {
    margin-bottom: 15px;
}

/* Label style */
.form-group label {
    color: #218838; /* White label color */
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

/* Input field style */
.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #fff ; /* Dark green input background */
    color: #162821; /* White input text color */
}

/* Checkbox input field style */
.form-group input[type="checkbox"] {
    width: auto;
    display: inline-block;
}

/* Submit button style */
.form-group button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #28a745; /* Button color */
    color: #fff;
    cursor: pointer;
}

/* Submit button hover effect */
.form-group button:hover {
    background-color: #218838; /* Darker green button hover color */
}

/* Tool Tip style */
.tooltip {
    cursor: pointer;
    position:sticky;
    display: inline-block;
}

.tooltip .fas {
    margin-left: 5px;
    color: #218838; /* Adjust to match your design */
    position: relative;
}
.tooltip .fas::after {
    content: attr(data-tooltip);
    position: absolute;
    white-space: normal;
    background-color: #0c8528;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    top: 50%; /* Adjust to move the tooltip below the icon */
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Initially hidden */
    z-index: 10; /* Ensure it appears above other elements */
    width: 400px; /* Fixed width for better text wrapping */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.875rem; /* Slightly smaller font size */
    line-height: 1.4; /* Adjust line height for better readability */
    font-family: Arial, sans-serif; /* Consistent font style */
}

.tooltip .fas:hover::after {
    display: block; /* Show on hover */
}

    

/* Responsive styles */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
        align-items: center;
    }

    .login-text {
        max-width: 100%;
        text-align: center;
    }

    .form-container {
        max-width: 100%;
    }

    .cta-button {
        margin-bottom: 10px;
        width: 100%;
    }
}
