:root {
    --primary: #1e40af;
    --accent: #3b82f6;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --process-bg: #fef3c7;
    --process-text: #92400e;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
}


body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.content-area {
    flex: 1 0 auto;
    padding: 20px; 
}

.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    width: 100%;
}


.page-title-section {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 20px;
}

.logo-text { font-weight: bold; font-size: 2rem; color: var(--primary); letter-spacing: 1px; }


.filter-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}


.table-wrapper {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-bottom: 40px; 
}

table { width: 100%; border-collapse: collapse; min-width: 800px; }
th { background: var(--primary); color: white; padding: 15px; text-align: left; }
td { padding: 15px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }


.status-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.Completed { background: var(--success-bg); color: var(--success-text); }
.In.Process { background: var(--process-bg); color: var(--process-text); }

.stats { font-weight: bold; margin-bottom: 10px; color: var(--primary); }


#footer {
    flex-shrink: 0;
    width: 100%;
    position: relative; 
    z-index: 5;
}


@media (max-width: 768px) {
    th:nth-child(5), td:nth-child(5) { display: none; } 
    .filter-box { grid-template-columns: 1fr; }
    .container { padding: 0 10px; }
}