/* style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9; /* Light background similar to shinydashboard */
    color: #333;
}

/* Header (Like dashboardHeader) */
.header {
    background-color: #3C8DBC; /* Primary color */
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header h1 {
    margin: 0;
    font-size: 24px;
}

/* Main Layout */
.main-container {
    display: flex;
    padding-top: 60px; /* Space for fixed header */
}

/* Sidebar (Like dashboardSidebar) */
.sidebar {
    width: 230px; /* Standard sidebar width */
    background-color: #222d32; /* Dark background */
    color: #b8c7ce;
    height: 100vh;
    position: fixed;
    top: 60px; /* Below the header */
    padding-top: 20px;
}

.menu-item {
    padding: 10px 15px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background-color 0.3s, border-left-color 0.3s;
}

.menu-item i {
    margin-right: 8px; /* Space between icon and text */
}

.menu-item:hover {
    background-color: #1e282c;
}

.menu-item.active {
    background-color: #1e282c;
    border-left-color: #3C8DBC; /* Highlight color */
    color: white;
}

/* Content Area (Like dashboardBody) */
.content {
    margin-left: 230px;
    padding: 20px;
    width: calc(100% - 230px);
    box-sizing: border-box;
}

.tab-content {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

/* Filter Boxes (Like Shiny boxes) */
.filter-box {
    background-color: #d9edf7;
    border-left: 5px solid #3C8DBC;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.filter-box label, .filter-box input, .filter-box select, .filter-box button {
    display: block;
    margin-bottom: 10px;
}

.filter-box button {
    background-color: #3C8DBC;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.filter-box button:hover {
    background-color: #2e6da4;
}

/* Footer (Fixed positioning) */
.footer {
    background-color: #3C8DBC; 
    color: white; 
    padding: 10px 15px; 
    position: fixed; 
    bottom: 0;
    left: 230px; 
    width: calc(100% - 230px); 
    z-index: 1000; 
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: #f9f9f9;
    text-decoration: none;
}

/* DataTables styling adjustment */
.dataTables_wrapper {
    margin-top: 20px;
}
/* Ensure DataTables uses all space */
table.dataTable {
    width: 100% !important;
}



:root { --primary: #2c3e50; --accent: #16a085; --bg: #f4f7f6; }
body { font-family: 'Segoe UI', Arial, sans-serif; margin: 0; background: var(--bg); line-height: 1.6; }
.header { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; padding: 25px; text-align: center; }
.main-container { display: flex; min-height: calc(100vh - 160px); }
.sidebar { width: 240px; background: white; border-right: 1px solid #ddd; padding: 15px 0; }
.menu-item { padding: 12px 25px; cursor: pointer; color: #555; transition: all 0.2s; border-left: 4px solid transparent; }
.menu-item:hover, .menu-item.active { background: #f0fdfa; color: var(--accent); border-left: 4px solid var(--accent); font-weight: bold; }
.content { flex: 1; padding: 40px; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Home Section Styles */
.hero-section { border-bottom: 2px solid var(--accent); margin-bottom: 25px; }
.home-grid { display: flex; gap: 20px; margin-bottom: 30px; }
.info-card { background: white; padding: 20px; border-radius: 8px; flex: 1; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.stats-overview { display: flex; gap: 20px; margin: 30px 0; }
.stat-card { background: white; padding: 20px; border-radius: 8px; flex: 1; text-align: center; border-top: 4px solid var(--accent); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.stat-card i { font-size: 2em; color: var(--accent); margin-bottom: 10px; }

/* Form Styles */
.submission-container { background: white; padding: 30px; border-radius: 12px; border: 1px solid #ddd; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.input-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 15px; }
.input-group label { font-weight: bold; margin-bottom: 5px; color: var(--primary); }
.form-row { display: flex; gap: 20px; }
input, select, textarea { padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
#submitBtn { width: 100%; padding: 15px; background: var(--accent); color: white; border: none; cursor: pointer; border-radius: 6px; font-size: 16px; font-weight: bold; }
#submitBtn:hover { background: #12876f; }

.footer { text-align: center; padding: 25px; background: var(--primary); color: #bdc3c7; }
.filter-box { background: white; padding: 20px; border-radius: 8px; margin-bottom: 25px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
