/* public/css/style.css */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #eef2f5;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* --- Global Header --- */
header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
}

header h1 a {
    color: #333;
    text-decoration: none;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a, header nav span {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #555;
    font-size: 1rem;
}

header nav a:hover {
    text-decoration: underline;
}

header nav span {
    color: #333;
    font-weight: bold;
}

/* --- Login Page Specifics --- */
.login-container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.login-container .main-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.login-container .main-header .tagline {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.login-section {
    padding: 1rem 0;
}

.login-section h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #555;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.register-link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #777;
}

.register-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.main-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #999;
}

/* --- General Content --- */
main {
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: left;
}

.container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.error {
    color: #e74c3c;
    background: #fdeded;
    border: 1px solid #f5b7b1;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.success {
    color: #27ae60;
    background: #e8f8f5;
    border: 1px solid #a9dfbf;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background-color: #f2f4f6;
    font-weight: 600;
    color: #555;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f5f7f9;
}
