/* public/assets/css/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #555;
    border-radius: 4px;
}

main .container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.welcome-section {
    text-align: center;
    padding: 40px 20px;
}

.welcome-section h1 {
    color: #007bff;
    margin-bottom: 20px;
}

.welcome-section p {
    line-height: 1.6;
}

.error-section {
    text-align: center;
    padding: 40px 20px;
    color: #dc3545;
}

.error-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}

/* Stiluri pentru formulare */
.form-section {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.form-section h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.error-text {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

.error-message { /* pentru erori generale */
    color: #dc3545;
    text-align: center;
    padding: 10px;
    border: 1px solid #dc3545;
    background-color: #f8d7da;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-section p {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.form-section p a {
    color: #007bff;
    text-decoration: none;
}

.form-section p a:hover {
    text-decoration: underline;
}

/* Stiluri pentru pagina de succes */
.success-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    max-width: 600px;
    margin: 50px auto;
}

.success-section h1 {
    color: #28a745;
    margin-bottom: 20px;
}

.success-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.success-section a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.success-section a:hover {
    text-decoration: underline;
}