/* Blue & White Theme - MoH TCIM Forum */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
}

.moh-logo, .partner-logo {
    height: 50px;
    object-fit: contain;
}

.theme {
    font-style: italic;
    color: #555;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.header h1 {
    color: #0056b3;
    font-size: 22px;
    margin: 10px 0;
}

.header p {
    color: #666;
    font-weight: bold;
}

.form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #0056b3;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    background-color: #0056b3;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #003d82;
}

/* Dashboard-specific styles */
.stats-overview {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 180px;
}

.stat-card h3 {
    color: #0056b3;
    margin-bottom: 8px;
    font-size: 16px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.chart-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 280px;
}

/* Mobile optimization */
@media (max-width: 600px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }
    .chart-item {
        height: 240px;
    }
    .logos {
        flex-direction: column;
        gap: 10px;
    }
    .moh-logo, .partner-logo {
        height: 45px;
    }
    .header h1 {
        font-size: 18px;
    }
}

/* ========== ADDITIONAL BUTTON STYLES FOR ADMIN PANEL ========== */
.view-participants-btn {
    margin-top: 12px;
    padding: 10px 24px;
    background: #6A1B9A;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.view-participants-btn:hover { 
    background: #4A0072; 
}

/* Admin panel action buttons */
.approve-online, .approve-inperson, .edit-btn, .delete-btn, .reject-btn,
.logs-btn, .users-btn, .download-btn, .logout-btn, .create-btn {
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
}

.approve-online { background: #5cb85c; color: white; }
.approve-inperson { background: #d9534f; color: white; }
.edit-btn { background: #f0ad4e; color: white; }
.delete-btn { background: #d9534f; color: white; }
.reject-btn { background: #8B0000; color: white; }
.logs-btn { background: #5bc0de; color: white; }
.users-btn { background: #28a745; color: white; }
.download-btn { background: #0056b3; color: white; }
.logout-btn { background: #d9534f; color: white; }
.create-btn { background: #28a745; color: white; }

/* Ensure MoH logos appear on all pages */
.moh-logo, .partner-logo {
    height: 50px;
    object-fit: contain;
}
