/* Tailwind-inspired base styles */
body {
    font-family: arial;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}

.container {
    width: 99%;
    max-width: 99%;
    margin: 0;
    padding: 0.5rem;
    background-color: #f1f2f3;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md\:flex-row {
    flex-direction: row;
}

.gap-2 {
    gap: 0.5rem;
}

.bg-white {
    background-color: #fefefe;
}

.p-1 {
    padding: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.text-base {
    font-size: 1rem;
}

.font-bold {
    font-weight: 700;
}

.mb-2 {
    margin-bottom: 0.5rem;
}
a {
    text-decoration: none;
}
.bg-blue-500 {
    background-color: #3b82f6;
}

.text-white {
    color: #ffffff;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.rounded {
    border-radius: 0.25rem;
}

.text-xs {
    font-size: 0.75rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.w-full {
    width: 90%;
}

.md\:w-2\/3 {
    width: 80%;
}

.md\:w-1\/3 {
    width: 20%;
}

.border-collapse {
    border-collapse: collapse;
}

.border {
    border: 1px solid #e5e7eb;
}

.tiny-text {
    font-size: 0.82rem;
    font-weight:400;
}

.text-center {
    text-align: center;
}

.bg-red-500 {
    background-color: #ef4444;
}

.text-sm {
    font-size: 0.8rem;
    font-weight:700;
    color: #304090;
    background:#efefef;
}

.font-semibold {
    font-weight: 600;
}

.text-blue-600 {
    color: #2563eb;
    font-size:0.9rem;
    font-weight:600;
}

.border-t {
    border-top: 1px solid #e5e7eb;
}

.pt-1 {
    padding-top: 0.25rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.bg-green-500 {
    background-color: #10b981;
}

.ml-1 {
    margin-left: 0.15rem;
}

/* Custom styles */
.calendar-day {
    width: 10px;
    height: 15px;
    background-color:#fceed;
}

.weekend {
    background-color: #e5e7eb;
}

.project-cell {
    padding: 2px;
    width: 100px;
    text-align:center;
    font-weight:450;
}

.report-cell {
    width: 35px;
    text-align:center;
    font-weight: 450;
    font-size: 0.83rem;
}

.project-input {
    width: 100%;
    padding: 0.2rem;
    font-size: 0.8rem;
    text-align: left;
    font-weight: bold;
    color:#063866;
    border: 1px  #e5e7eb;
    border-radius: 0.25rem;
    background-color: #f1f1f1;
    margin-right: 2px;
    height: 20px;
    box-sizing: border-box;
}
.project2-input {
    width: 100%;
    padding: 0.2rem;
    font-size: 0.83rem;
    text-align: center;
    font-weight: bold;
    color:#063866;
    background-color: #f1f1f1;
    border: 1px  #e5e7eb;
    border-radius: 0.25rem;
    margin-right: 2px
    height: 20px;
    box-sizing: border-box;
}

.tiny-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.83rem;
    text-align: center;
    font-weight: 300;
    color:#dd2020;
    border: 1px solid #e5e7eb;
    margin-right: 2px;
    box-sizing: border-box;
    border-radius: 0.25rem;
}

.day-text {
    font-size: 0.7875rem;
}

.hour-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #ffebcc;
    border-radius: 0.15rem;
    margin-right: 2px;
    box-sizing: border-box;
}

.hour-reported-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    color:white;
    background: #0c86f7;
    border-radius: 0.25rem;
    margin-right: 2px;
    box-sizing: border-box;
}

.hour-mism-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #ffcccc;
    border-radius: 0.15rem;
    margin-right: 2px;
    box-sizing: border-box;
}

.weekend-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    background: #efefef;
    border-radius: 0.25rem;
    margin-right: 2px;
    box-sizing: border-box;
}

.holiday-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.5rem;
    text-align: center;
    border: 1px solid #aaeeaa;
    background: #a1d1a1;
    border-radius: 0.25rem;
    margin-right: 2px;
    box-sizing: border-box;
}
.concediu-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid #b5ebef;
    background: #c3d4e3;
    border-radius: 0.15rem;
    margin-right: 2px;
    box-sizing: border-box;
}

.concediu-reported-input {
    width: 100%;
    padding: 0.125rem;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    color:white;
    background: #f7867b;
    border-radius: 0.25rem;
    margin-right: 2px;
    box-sizing: border-box;
}

/* Hide number input spinners */
.hour-input::-webkit-inner-spin-button,
.hour-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hour-input {
    -moz-appearance: textfield; /* Firefox */
}
.centered-div {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%; /* 80% of viewport width */
    height: 30%; /* 60% of viewport height */
    background-color: white;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

#notification {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.notification-success {
    background-color: #109010;
    color: #ffffff;
}

.notification-error {
    background-color: #991010;
    color: #ffffff;
}

.hidden {
    display: none;
}

.save-button {
    background-color: #10b981 !important;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 3px;
    height:35px;
}

.save-button:hover {
    background-color: #059669 !important;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 3px;
    height:35px;
}

.login-button {
    background-color: #239eeb !important;
    font-size: 0.85rem;
    height:30px;
    border: 1px solid #239eeb;
}

.login-button:hover {
    background-color: #2391db !important;
    border: 1px solid #2392eb;
}

.logout-button {
    background-color: #e0dcd7 !important;
    font-size: 0.7rem;
    margin-top: 10px;
    height:20px;
    
}

.logout-button:hover {
    background-color: #c7b8ab !important;
    font-size: 0.7rem;
    margin-top: 10px;
    height:20px;
}