/* ============================
   STYLE GLOBAL USER PORTAIL
   ============================ */

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
}

/* ============================
   PANELS / SECTIONS
   ============================ */

.user-panel, .admin-panel, .section {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.section h3 {
    margin-top: 0;
    color: #003366;
}

/* ============================
   INPUTS
   ============================ */

.input, select, input[type="text"], input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
}

.input:focus, select:focus {
    border-color: #007bff;
    outline: none;
}

/* ============================
   BUTTONS
   ============================ */

.btn, .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #28a745;
    color: white;
}

.btn-secondary:hover {
    background: #1e7e34;
}

.btn {
    background: #0066cc;
    color: white;
}

.btn:hover {
    background: #004c99;
}

/* ============================
   AUTOCOMPLETE RESULTS
   ============================ */

.results-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    margin-top: 5px;
    max-height: 220px;
    overflow-y: auto;
}

.results-box .item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.results-box .item:hover {
    background: #e6f0ff;
}

/* ============================
   SELECTED BENEVOLE CARD
   ============================ */

.selected-card {
    background: #f0f8ff;
    border-left: 4px solid #007bff;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
}

.selected-card h4 {
    margin: 0 0 5px 0;
    color: #003366;
}

.hidden {
    display: none;
}

/* ============================
   TABLES (user view)
   ============================ */

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 15px;
}

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

table th {
    background: #003366;
    color: white;
    text-align: left;
}

table tr:hover {
    background: #f0f8ff;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 600px) {
    .user-panel, .admin-panel, .section {
        padding: 15px;
    }

    .btn, .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}
