* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}
.count {
	font-weight: bold;
}
.container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    background-color: black;
    box-shadow: 0 5px 10px gray;
    border-radius: 10px;
    text-align: center;
  	color: black;
}

/* Filters */
.filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background: #f8f9fa; /* Light background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.filters select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
}

.filters select:hover {
    border-color: #007bff;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.4);
}

.filters select:focus {
    border-color: #007bff;
    box-shadow: 0px 0px 7px rgba(0, 123, 255, 0.6);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .filters {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .filters select {
        width: 90%;
    }
}

/* Data Section */
.container-details {
    background-color: #f9f9f9;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.date, .total-purchases {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.stat {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat .percentage {
    display: flex;
    align-items: center;
    gap: 5px;
}

.total-purchases .percentage {
    display: flex;
    align-items: center;
  	justify-content: center;
  	flex-direction: column-reverse;
    gap: 5px;
}

.stat .percentage img {
    width: 15px;
    height: 15px;
}

.total-purchases .percentage img {
 	width: 80px;
    height: 80px;
}

/* Red & Green Icons */
.positive {
    color: green;
}

.negative {
    color: red;
}