* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f0f2f5;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: auto;
}


header {
    background: #5e60ce;   
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.form-group {
    margin-bottom: 15px;
}

input, select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


button {
    background: #5e60ce;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #4a4ecb;
}


.delete-btn {
    background: #e74c3c;
    padding: 6px 12px;
}

.delete-btn:hover {
    background: #c0392b;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f3f4ff;
}

.summary-boxes {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.box {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
}

.box-number {
    font-size: 28px;
    font-weight: bold;
    color: #5e60ce;
}


.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #dfe3ff;   
    color: #333;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.filter-btn:hover {
    background: #c5ccff;
}

.filter-btn.active {
    background: #5e60ce;
    color: white;
}


@media (max-width: 768px) {
    .summary-boxes {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 480px) {
    .summary-boxes {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
    }
}
