.container.dashboard table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.container.dashboard th, .container.dashboard td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

.container.dashboard th {
	background-color: #f4f4f4;
	font-weight: bold;
}

.container.dashboard td {
	background-color: #ffffff;
}

.container.dashboard h3 {
	margin-bottom: 10px;
	font-size: 1.2em;
}

.container.dashboard {
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

.container.dashboard .content {
	display: flex;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}

.container.errand-statistics table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.container.errand-statistics th, .container.errand-statistics td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}

.container.errand-statistics th {
	background-color: #f4f4f4;
	font-weight: bold;
}

.container.errand-statistics td {
	background-color: #ffffff;
}

.container.errand-statistics h3 {
	margin-bottom: 10px;
	font-size: 1.2em;
}

.container.errand-statistics {
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

.container.errand-statistics .content {
	display: flex;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}

.header-with-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.more-btn {
	background-color: #999999;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 4px;
	text-decoration: none;
}

.approval-request, .review-section {
	width: 48%;
	box-sizing: border-box;
}

.order-status {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-top: 20px;
	box-sizing: border-box;
}

.order-status h3 {
	margin-bottom: 20px;
	font-size: 1.2em;
}

.order-status-cards {
	display: flex;
	justify-content: space-between;
}

.order-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 12%;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 10px;
	box-sizing: border-box;
}

.order-status-cards-2 {
    display: flex;
    flex-wrap: wrap;
}

.order-card-2 {
	flex: 1 1 50%;
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;

	text-align: center;

	padding: 10px;
	height : 140px;
}

.order-card-2 img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.order-card-2-text {
    display: flex;
    flex-direction: column;
}

.order-card-3 {
	flex: 1 1 25%;
    display: flex;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;

	text-align: center;

	padding: 10px;
	height : 140px;
}

.order-card-3 img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.performance-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 25%;
	text-align: center;
	border-radius: 4px;
	padding: 10px;
	box-sizing: border-box;
}

.order-card img {
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
}

.order-card p {
	margin: 5px 0;
	font-size: 0.9em;
}

.button-container {
	display: flex;
	align-items: center;
	margin-left: auto;
	margin-bottom: 18px;
}

.button-container button {
	margin-left: 10px;
	padding: 5px 15px;
	background-color: #999999;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.button-container button:hover {
	background-color: #666666;
}

.button-container button.active {
	background-color: #000000;
}

@media ( max-width : 768px) {
	.approval-request, .review-section {
		width: 100%;
	}
	.content {
		flex-direction: column;
	}
	.order-status-cards {
		flex-wrap: wrap;
	}
	.order-card {
		width: 45%;
		margin-bottom: 10px;
	}
}

.dashboard .tab-container {
	display: flex;
	margin-bottom: 20px;
}

.dashboard .tab-button {
	padding: 5px 25px;
	width: 100px;
	cursor: pointer;
	border: 1px solid #ddd;
	background-color: #f4f4f4;
}

.dashboard .tab-button.active {
	background-color: #999999;
	color: white;
}


.review-chart-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.average-rating {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
    margin-bottom: 20px;
    margin-right: 20px;
    font-size: 18px;
}

.average-chart {
    flex: 3; 
}


.errand-statistics .tab-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.errand-statistics .tab-button {
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 20px;
    background-color: white;
    color: black;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.errand-statistics .tab-button.active {
    background-color: black;
    color: white;
}

.errand-statistics .tab-button:hover {
    background-color: #f0f0f0;
} 

.errand-statistics .detail-query-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.errand-statistics .query-period {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.errand-statistics .period-selection {
    display: flex;
    align-items: center;
    gap: 5px;
}

.errand-statistics .period-selection label {
    font-weight: bold;
}

.errand-statistics .date-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.errand-statistics .period-button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s;
}

.errand-statistics .period-button.active {
    background-color: #ffd700; /* 노란색 */
    border-color: #999;
}

.errand-statistics .period-button:hover {
    background-color: #e0e0e0;
}

.errand-statistics .excel-download-button {
    padding: 5px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.errand-statistics .excel-download-button:hover {
    background-color: #45a049;
}

.errand-statistics .period-selection label {
    font-weight: bold;
    padding-right: 15px; 
    min-width: 100px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.errand-statistics .review-chart-container {
    margin-top: 20px; 
    height: 500px;
}

.errand-statistics .average-chart {
    width: 100%;
    height: 100%; 
}