﻿/*Global CSS*/
.punktime-align-center {
    align-items: center;
}

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

.punktime-align-content-center {
    align-content: center;
}

.punktime-text-white {
    color: white !important;
}

.punktime-height-px-150 {
    height: 150px;
}

.punktime-width-0 {
    width: 0%;
}

.punktime-width-20 {
    width: 20%
}

.punktime-width-25 {
    width: 25%;
}

.punktime-width-50 {
    width: 50%;
}

.punktime-width-75 {
    width: 75%;
}

.punktime-width-90 {
    width: 90%;
}

.punktime-width-100 {
    width: 100%;
}

.punktime-mb-10 {
    margin-bottom: 10px !important;
}

.punktime-mr-10 {
    margin-right: 10px !important;
}
.box {
    height: 200px; /* Set a fixed height */
    width: 100%; /* Ensure the width is 100% of the column */
    position: relative;
}
.box-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%
}

/*CSS for NavMenu*/
.punktime-nav-color {
    background-image: none !important;
    background-color: cadetblue !important;
}

.nav-scrollable {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Make sure the container spans the full height */
}

.bottom-text {
    margin-top: auto;
    text-align: center; /* Optional: Center-align the text */
    padding: 10px; /* Optional: Add some padding */
}

/*CSS for Import*/
.punktime-import-table {
    width: 100%;
    border-collapse: collapse;
}

    .punktime-import-table td {
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-align: left;
    }

    .punktime-import-table th {
        background-color: #f4f4f4;
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-align: left;
    }

/* CSS for Time Registration*/
.timereg-dates {
    align-items: center;
    display: flex;
}

.timereg-cal {
    width: 45px;
}

.timereg-input-width {
    width: 76px;
}

.timereg-input-field-width {
    width: 60px;
}

.timereg-total-border {
    border-left-width: 2px;
}

.timereg-highlight-today {
    background-color: lightblue !important;
    color: black !important;
}

.timereg-highlight-weektotal {
    background-color: green !important;
    color: white !important;
}

.timereg-highlight-total {
    background-color: royalblue !important;
    vertical-align: baseline;
}

.timereg-highlight-Projecttotal {
    background-color: deepskyblue !important;
    color: black !important;
}

.timereg-sticky-top-border {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.timereg-checkbox-width{
    width: max-content;
}


/*CSS for Invoice*/
.punktime-invoice-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*CSS for timereport*/
.timeregreport-title {
    margin-bottom: 20px;
    text-align: center;
}

/*CSS for Changelog*/
.changelog-item {
    position: relative;
    padding: 8px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.changelog-item-user {
    position: relative;
    padding: 8px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-button {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.changelog-scroll {
    max-height: 450px;
    overflow: scroll;
}

.changelog-item:hover .delete-button {
    display: inline-block;
}

.changelog-item:hover {
    background-color: #f8d7da; /* Light red background to indicate danger */
}
.changelog-item-user:hover {
    background-color: lightgray; /* Light red background to indicate danger */
}

/*CSS for Users*/
.user-edit-btn{
    width: 53px;
}

/*CSS for scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*CSS for Dashboard*/
.punktime-dashboard-box {
    height: 100%;
    width: 100%;
}

/*CSS for Customer*/
.punktime-customer-box {
    height: 100%;
    width: 100%;
}

/*Static button*/
.fixedButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 20px;
    z-index: 1050;
}

.roundedFixedBtn {
    height: 60px;
    line-height: 60px;
    width: 60px;
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    cursor: pointer;
    z-index: 1051;
}

.chat-popup {
    display: block;
    position: fixed;
    bottom: 80px;
    right: 20px;
    border: 3px solid #6c757d;
    z-index: 9;
}

.form-container {
    height: 450px;
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

.textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
}

    .textarea:focus {
        background-color: #ddd;
        outline: none;
    }

.chat-btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

.cancel {
    background-color: red;
}

.btn:hover {
    opacity: 1;
}

.chat-history{
    max-height: 342px;
    overflow:scroll;
}

/*CSS for LinkProduct*/
.LinkProduct-totaltext {
    max-width: 200px;
    max-height: 100px;
    overflow: scroll;
    white-space: nowrap;
}
