* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    direction: rtl;
    text-align: right;
    padding: 40px;
}

.container {
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    font-family: sans-serif;
    margin-bottom: 20px;
    font-size: 24px;
    color: #2c3e50;
}

/* .message {
    font-family: sans-serif;
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 15px;
} */

/* .error {
    font-family: sans-serif;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 15px;
} */

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

.toggle p {
    margin-top: 20px;
    font-size: 14px;
}

.toggle a {
    color: #3498db;
    text-decoration: none;
}

.toggle a:hover {
    text-decoration: underline;
}

#register {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

@media (max-width: 600px) {
    body {
        padding: 20px;
    }
}
