/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== BODY ===== */
body {
    background-color: #f4f6f9;
    padding: 30px;
}

/* ===== CONTAINER ===== */
.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ===== TITLES ===== */
h1, h2 {
    margin-bottom: 20px;
    color: #333;
}

/* ===== TABLE ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table th {
    background-color: #2c3e50;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table tr:hover {
    background-color: #f1f1f1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-add {
    background-color: #27ae60;
    color: #fff;
}

.btn-add:hover {
    background-color: #219150;
}

.btn-edit {
    background-color: #2980b9;
    color: #fff;
}

.btn-edit:hover {
    background-color: #1f6391;
}

.btn-danger {
    background-color: #e74c3c;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* ===== FORM ===== */
form {
    margin-top: 20px;
}

input[type="text"],
input[type="file"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== IMAGES ===== */
img {
    max-width: 80px;
    border-radius: 5px;
}

/* ===== ALERTS ===== */
.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* ===== LINK BACK ===== */
a {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}