/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: none;
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}

button {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #0056b3;
}

/* Login Page */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    margin: 0;
}

.login-card {
    width: 350px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.login-card p {
    margin-bottom: 20px;
    color: #666;
}

.login-card form label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #333;
}

.login-card input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.login-card input:focus {
    border-color: #4facfe;
    outline: none;
}

.login-button {
    width: 100%;
    padding: 10px;
    background: #4facfe;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-button:hover {
    background: #3a9ff1;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: none; /* Will only appear if there's an error */
}

/* Manage Pages */
.manage-container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.manage-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-container {
    margin-bottom: 30px;
}

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #4facfe;
    outline: none;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    color: white;
}

button.danger {
    background-color: #dc3545;
}

button.danger:hover {
    background-color: #b02a37;
}

/* Table Styles */
.list-container {
    margin-top: 20px;
}

.list-container table {
    width: 100%;
    border-collapse: collapse;
}

.list-container th, .list-container td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.list-container th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .manage-container {
        width: 90%;
    }

    .form-container {
        margin-bottom: 20px;
    }

    .list-container table {
        font-size: 14px;
    }
}
