/* ================================
   DUTYASSIST DASHBOARD STYLES
   ================================ */

/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f9fb;
    color: #333;
}

/* HEADER */
.vp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.vp-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #2a7f4f;
}

.vp-logo img {
    height: 40px;
    margin-right: 10px;
}

.vp-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.vp-nav a:hover {
    color: #2a7f4f;
}

/* DASHBOARD LAYOUT */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: #ffffff;
    border-right: 1px solid #ddd;
    padding: 20px;
}

.sidebar h2 {
    margin-top: 0;
    color: #2a7f4f;
}

.sidebar-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    background: #2a7f4f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.25s ease;
}

.sidebar-btn:hover {
    background: #3fa56a;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 30px;
    background: #eef3f0;
}

/* VIEW SECTIONS */
.view-section {
    display: none;
}

.view-section.active {
    display: block;
}

/* STAFF VIEW */
.alert-btn {
    padding: 12px 20px;
    background: #2a7f4f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.25s ease;
}

.alert-btn:hover {
    background: #3fa56a;
}

.status-box {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* SUPERVISOR VIEW */
.alerts-list, .responders-list {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.alerts-list ul, .responders-list ul {
    list-style: none;
    padding: 0;
}

.alerts-list li, .responders-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* ADMIN VIEW */
.admin-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.admin-btn {
    padding: 10px 16px;
    background: #2a7f4f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: bold;
}

.admin-btn:hover {
    background: #3fa56a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}
