* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f6f7f8, #5bcdf3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

.container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 90%;
    max-width: 500px; 
}

.button-container {
    display: flex;
    justify-content: center;
    background: #f3f4f6;
    border-bottom: 1px solid #ddd;
}

.toggle-btn {
    flex: 1;
    padding: 15px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    transition: background 0.3s, color 0.3s;
}

.toggle-btn:hover {
    background: #007bff;
    color: #fff;
}

.toggle-btn:focus {
    outline: none;
}

/* منطقة النماذج */
.form-container {
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* الحقول */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

.btn {
    padding: 12px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.hidden {
    display: none;
}

.signup-text {
    text-align: center;
    margin-top: 15px;
    color: #555;
}

.signup-text a {
    color: #007bff;
    text-decoration: none;
}

.signup-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 0 15px;
    }
}



<!-- password-conditions-->

#password-conditions {
    background-color: #f4f7fa; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    padding: 20px;
    margin-top: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #333;
}

#password-conditions p {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
    color: #007bff;
}

#password-conditions ul {
    list-style-type: none; 
    padding: 0;
    margin: 0;
}

#password-conditions li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

#password-conditions li span {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    font-size: 16px;
    text-align: center;
}

#password-conditions li span.fail {
    color: #dc3545; 
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

#password-conditions li span.success {
    color: #28a745; 
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}


#password-conditions li p {
    margin: 0;
    color: #555;
    font-size: 14px;
    display: inline-block;
}

#password-conditions li:hover {
    background-color: #e7f1ff; 
    transition: background-color 0.3s ease;
}


