/* =========================
   GLOBAL STYLES
========================= */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #333;
}

h2, h3 {
    margin-top: 30px;
    color: #2c3e50;
}

/* =========================
   ADMIN TABLE STYLING
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 6px;
    overflow: hidden;
}

table th {
    background: #2f80ed;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: #f0f6ff;
    transition: background 0.2s ease;
}

/* =========================
   ACTION LINKS / BUTTONS
========================= */
a {
    color: #2f80ed;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.action-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #2f80ed;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
}

.action-btn:hover {
    background: #1c5ed5;
    text-decoration: none;
}

/* =========================
   FORMS
========================= */
form {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

button {
    margin-top: 15px;
    padding: 10px 18px;
    background: #27ae60;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #219150;
}

/* =========================
   STATUS / FLASH MESSAGES
========================= */
.flash-success {
    background: #eafaf1;
    color: #2f855a;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
}

.flash-error {
    background: #fdecea;
    color: #c53030;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
}
/* ADMIN TABLE */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    text-align: left;
}

.admin-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.admin-table tr:hover {
    background-color: #eef3f8;
}

.admin-table td {
    font-size: 14px;
}
