/* تعيين إعدادات أساسية للصفحة */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #006400, #00cc00);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.register-container h1 {
    margin-bottom: 20px;
    color: #006400;
    font-size: 26px;
    font-weight: bold;
}

.register-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
    text-align: center;
}

.register-container input {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
}

.register-container button {
    width: 100%;
    padding: 12px;
    background-color: #006400;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-container button:hover {
    background-color: #004d00;
}

.register-container p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.register-container a {
    color: #006400;
    text-decoration: none;
}

.register-container a:hover {
    text-decoration: underline;
}
.error-message {
    color: #e60000;
    margin-top: 20px;
    font-size: 16px;
    background-color: #ffdddd;
    border-left: 6px solid #e60000;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
