﻿/* Login.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

body, form {
    height: 100%;
}

body, form {
    height: 100%;
}

#homeNav + div {
    height: 100%;
}

.page-container {
    display: flex;
    justify-content: center;
    padding-top: 10%;
}
.nav-search-icon-container {
    display: none;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    padding: 10px 30px 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: right;
    direction: rtl;
}

    .login-container h2 {
        margin-bottom: 20px;
        color: var(--dark-blue);
        text-align: center;
    }

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
    .login-button:hover {
        background-color: #0056b3;
    }
.signup-button {
    display: block;
    text-align: center;
    background-color: #00c6ff;
}
    .signup-button:hover {
        background-color: #4cb7d6;
    }
.error-message {
    color: #d9534f;
    margin-bottom: 15px;
    display: block;
}


.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-wrapper .input-field {
        width: 100%;        
    }

.toggle-password {
    position: absolute;
    left: 10px;
    top: 25%;
    cursor: pointer;
    color: #555;
}

    .toggle-password:hover {
        color: #000;
    }

.pwd-checklist {
    margin-top: 6px;
    font-size: 14px;
}

    .pwd-checklist .rule {
        color: #c0392b;
    }
        /* not met = red */
        .pwd-checklist .rule.ok {
            color: #2e7d32;
            display: none;
        }
/* met = green */


.success-signup {
    border: 1px solid green;
    padding: 5px 10px;
    color: green;
    border-radius: 5px;
    font-size: 24px;
    text-align: center;
    align-self: center;
}

.user-page-h1 {
    font-size: 3rem;
    color: var(--dark-blue);
}

.messeage-div {
    text-align: center;
}