
/* Modal overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

/* Modal box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-content h3 {
    margin-top: 0;
    color: #004080;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #003060;
}

/* Close button */
.close {
    position: absolute;
    top: 12px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}


.logo-modal-container {
    display: grid;
    margin-bottom: 20px;
    place-items: center; /* Centers both horizontally and vertically */
}

.logo-modal {
    max-width: 100%; /* Ensure it doesn't overflow */
    height: auto;    /* Maintain aspect ratio */
}


/* Password wrapper to ensure the button is positioned correctly */
.password-wrapper {
    position: relative;
    width: 100%; /* Ensure the wrapper takes up the full width */
}

.password-wrapper input {
    width: 100%;
    padding: 12px;
    padding-right: 40px; /* Adjust padding to make space for the button */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding doesn’t mess with the width */
}

.password-wrapper button:hover {
    background-color: transparent;
}

.toggle-password {
    position: absolute;
    right: 10px; /* Adjust this to move the button closer or farther */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the button */
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 20px; /* Width of the button to fit the icon */
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Make sure it stays on top */
}

.toggle-password svg {
    width: 100%; /* Ensure the SVG icon fills the button */
    height: 100%;
    fill: #555; /* Set color for the icon */
    transition: fill 0.3s ease;
}

.toggle-password:hover {
    background: transparent; /* Ensure the background doesn't change */
}

.password-wrapper button {
    background-color: #f9f9f9;
    background: transparent;
    position: absolute;
    right: 10px; /* Adjust this to move the button closer or farther */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the button */
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 20px; /* Width of the button to fit the icon */
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Make sure it stays on top */
}

/* Optional: if you want the button to be a little larger when hovered */
.toggle-password:focus,
.toggle-password:active {
    outline: none; /* Remove outline if not needed */
}

/* Optional: Change color of input field when button is hovered */
.password-wrapper input:focus {
    border-color: #007BFF;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 10px;
}

.forgot-password a {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.register-link {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.register-link a {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}
.slogan-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #f3f6fc; /* or any light section background */
}

.slogan-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #004080; /* or your brand primary */
    margin: 0;
    line-height: 1.3;
}

.slogan-text span {
    color: #ff9f1c; /* accent color to highlight "Smart Matches" */
}