<template>
    <div class="container">
        <div class="row gx-3">
            <div class="col-4">
                <div class="card bg-left text-light h-100">
                    <div class="row g-0 h-100">
                        <div class="col-3 ">
                            <h2 class="rounded-start bg-light h-100 d-flex justify-content-center align-items-center">
                                <i class="text-left fa-solid fa-calendar"></i>
                            </h2>
                        </div>
                        <div class="col-9 ">
                            <div class="card-body">
                                <h6 class="card-title">MIESIĄC:</h6>
                                <h3 class="card-subtitle">Marzec</h3>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4">
                <div class="card bg-mid text-light h-100">
                    <div class="row g-0 ">
                        <div class="col-3 ">
                            <h2 class="rounded-start bg-light h-100 d-flex justify-content-center align-items-center">
                                <i class="text-mid fa-solid fa-hammer"></i>
                            </h2>
                        </div>
                        <div class="col-9 ">
                            <div class="card-body">
                                <h6 class="card-title">ILOŚĆ DNI ROBOCZYCH:</h6>
                                <h3 class="card-subtitle">21</h3>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4">
                <div class="card bg-right text-light h-100">
                    <div class="row g-0 ">
                        <div class="col-3 ">
                            <h2 class="rounded-start bg-light h-100 d-flex justify-content-center align-items-center">
                                <i class="text-right fa-solid fa-clock "></i>
                            </h2>
                        </div>
                        <div class="col-9 ">
                            <div class="card-body">
                                <h6 class="card-title">WYMAGANA ILOŚĆ GODZIN:</h6>
                                <h3 class="card-subtitle">168</h3>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row gx-3 mt-3 text-center">
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">ILOŚĆ GODZIN</div>
                    <div class="card-body">
                        <h3 class="card-title">182</h3>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">RÓŻNICA GODZIN</div>
                    <div class="card-body">
                        <h5 class="card-title">+15</h5>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">PROGRES</div>
                    <div class="card-body">
                        <h5 class="card-title">18/21</h5>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">DNI URLOPU</div>
                    <div class="card-body">
                        <h5 class="card-title">0</h5>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">DNI CHOROBOWEGO</div>
                    <div class="card-body">
                        <h5 class="card-title">0</h5>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="card h-100">
                    <div class="card-header text-bg-primary">DNI ŚWIĄTECZNE</div>
                    <div class="card-body">
                        <h5 class="card-title">1</h5>
                        <!-- <h6 class="card-text mb-2 ">Marzec 2025</h6> -->
                    </div>
                </div>
            </div>
        </div>
        <!-- <div class="d-flex justify-content-center g-1">
            <div class="col-auto mx-auto"></div>
        </div> -->
        <div class="row gx-3">
            <!-- <div class="col-auto"> -->
            <BarChartComponent />

            <!-- </div> -->

        </div>
    </div>



</template>


<script setup>
import BarChartComponent from '@/components/BarChartComponent.vue';
</script>

<style scoped>
.bg-left {
    background: rgb(25, 135, 84);
}

.text-left {
    color: rgb(25, 135, 84);
}

.text-left-light {
    color: rgb(253, 126, 20);
}

.bg-mid {
    background: rgb(202, 101, 16);
}

.text-mid {
    color: rgb(202, 101, 16);
}

.text-mid-light {
    color: rgb(253, 126, 20);
}

.bg-right {
    background: rgb(10, 162, 192);
}

.text-right {
    color: rgb(10, 162, 192);
}

.text-right-light {
    color: rgb(253, 126, 20);
}
</style>