html.vdv-invoices-app,
body {
    margin: 0 !important;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    color: #222;
    background: #f4f6f8;
    overflow-x: hidden;
}

.vdv-container {
    width: min(1100px, 92%);
    margin-inline: auto;
}

.vdv-row-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdv-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#vdv-invoice-settings h4 {
    margin: auto;
}

#vdv-invoice-settings .vdv_labled_inputs>div.wage label {
    left: -37px !important;
}

/* Menu */
.vdv-logged-in-menu-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 55px;
    background: #111;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.vdv-logged-in-menu li {
    display: inline-flex;
    align-items: center;
}

.vdv-logged-in-menu li a {
    padding: 10px 14px;
    border-radius: 8px;
    transition: all .2s ease;
}

.vdv-logged-in-menu li a:hover {
    background: #c2433c;
    transform: translateY(-1px);
}

.vdv-settings {
    color: white;
    position: absolute;
    padding: 5px 10px;
    right: 0;
    top: 0;
}

.vdv-settings:hover,
.vdv-logout:hover {
    background-color: #c2433c;
    color: #000;
}

.vdv-logout {
    color: white;
    position: absolute;
    padding: 5px 10px;
    right: 0;
    bottom: 0;
}

.vdv-invoices-app-content h1.entry-title::after {
    display: none !important;
}

.vdv-invoices-app-content .entry-content {
    margin-top: 0 !important;
}

.vdv-invoices-app-content {
    width: 70%;
    margin: auto;
    margin-top: 55px;
    padding: 20px;
    background-color: #fff;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
    width: min(1100px, 92%);
    margin: 30px auto 10px;
    padding: 24px;
    background-color: #fff;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
}

.vdv-invoices-app-content>h1,
.vdv-invoices-app-content>h2,
.vdv-invoices-app-content>h3 {
    text-align: center;
}

.vdv-logged-in-menu li {
    display: inline-block;
    margin-right: 15px;
}

.vdv-logged-in-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 5px;
}

.vdv-logged-in-menu li a:hover {
    background-color: #c2433c;
    color: white;
}

.vdv-menu-logo {
    width: 30px;
    height: 30px;
    margin: auto;
    display: block;
}


.vdv-logged-in-menu {
    overflow: hidden;
    position: relative;
}

.vdv-logged-in-menu #vdvMenuLinks {
    display: none;
}

.vdv-logged-in-menu a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    display: block;
}

.vdv-logged-in-menu a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

/* Calendar */
.arrow {
    border: solid white;
    border-width: 0px 5px 5px 0;
    display: inline-block;
    padding: 7px;
    border-radius: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

/* start form elements style */
.vdv-time-picker {
    position: absolute;
    top: 0;
    left: 0;
}

.vdv_form_element_style input::placeholder {
    color: #c2433c83 !important;
    opacity: 1 !important;
}

.vdv_form_element_style input::-webkit-input-placeholder {
    color: #c2433c83 !important;
    opacity: 1 !important;
}

.vdv_form_element_style input::-moz-placeholder {
    color: #c2433c83 !important;
    opacity: 1 !important;
}

.vdv_form_element_style input:-ms-input-placeholder {
    color: #c2433c83 !important;
    opacity: 1 !important;
}

.vdv_form_element_style select option[disabled] {
    color: #c2433c83 !important;
    opacity: 1 !important;
}

/* Placeholder color for the select */
.vdv_form_element_style select {
    color: #c2433c83 !important;
    /* Placeholder color */
}

.vdv_form_element_style select:valid {
    color: black !important;
    /* Color for selected options */
}

/* Styling for the disabled placeholder option */
.vdv_form_element_style select option:disabled {
    color: #c2433c83 !important;
    /* Placeholder color */
}

/* Optional: Change selected option color */
.vdv_form_element_style option {
    color: black !important;
}

.vdv_form_element_style {
    margin: auto;
}

/* Start checkbox style */

/* The container */
.vdv_form_element_style .checkbox {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.vdv_form_element_style .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */
.vdv_form_element_style .checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.vdv_form_element_style .checkbox:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.vdv_form_element_style .checkbox input:checked~.checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.vdv_form_element_style .checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.vdv_form_element_style .checkbox input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.vdv_form_element_style .checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* END checkbox style */

.select2-container--default .select2-selection--single .select2-selection__clear {
    padding-top: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 13px !important;
    right: 4px !important;
}

.vdv_form_element_style .select2-container .select2-selection--single,
.vdv_form_element_style input,
.vdv_form_element_style select {
    margin: 0px 0px 20px 0px !important;
    padding: 10px;
    border: 1px solid #c2433c;
    height: 50px;
}

.vdv_form_element_style .select2-container .select2-selection--single,
.vdv_form_element_style select,
.vdv_form_element_style input {
    width: 100%;
}

#already_submited {
    margin-top: 45px;
}

input,
select,
textarea {
    font-size: 16px;
    /* prevents iOS zoom */
}

.vdv_form_element_style input[type=submit].already_submited {
    border: orange;
    background-color: orange;
    margin-top: 0px !important;
}

.vdv-shift-table {
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.vdv-shift-table thead {
    font-weight: 600;
}

.vdv_form_element_style button[type=submit],
.vdv_form_element_style input[type=submit],
.post-password-form input[type=submit] {
    display: block;
    margin: 30px auto !important;
    padding: 10px 40px;
    border: 3px solid #c2433c;
    background-color: #c2433c;
    color: white;
    height: auto;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.vdv_calendar_months {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.vdv_calendar_months h4 {
    margin: 0;
    font-weight: 600;
    color: #c2433c;
}

.vdv_calendar_months .vdv_calendar_prev,
.vdv_calendar_months .vdv_calendar_next {
    display: inline-block;
    background-color: #c2433c;
    color: white;
    cursor: pointer;
}

.vdv_calendar_months .vdv_calendar_prev {
    padding: 10px 10px 4px 17px;
}

.vdv_calendar_months .vdv_calendar_next {
    padding: 10px 17px 4px 10px;
}

.vdv_calendar_months .vdv_calendar_prev:hover,
.vdv_calendar_months .vdv_calendar_next:hover,
.vdv_arrow_left:hover,
.vdv_arrow_right:hover {
    opacity: 0.6;
}

.vdv_calendar_wraper {
    position: relative;
    overflow: hidden;
}

.vdv_arrow_left,
.vdv_arrow_right {
    position: absolute;
    top: 0;
    background: #c2433c;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 7;
}

.vdv_arrow_left {
    left: 0px;
    padding: 23px 1px 18px 8px;
}

.vdv_arrow_right {
    right: 0px;
    padding: 23px 8px 18px 1px;
}

.vdv_calendar_boxes {
    padding: 0 30px 0 30px;
    flex-grow: 1;
    overflow: auto;
    white-space: nowrap;
    font-weight: bold;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    position: relative;
}

.vdv_calendar_boxes::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.vdv_calendar_box.vdv_cal_past,
.vdv_calendar_box.vdv_cal_today {
    cursor: pointer;
}

.vdv_calendar_box.disabled,
.vdv_calendar_box.vdv_cal_centre {
    cursor: not-allowed;
}

.vdv_calendar_box.vdv_cal_centre {
    border: 1px solid #c2433c !important;
    box-shadow: 0 0 5px #c2433c;
}

.vdv_calendar_box {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    height: 60px;
    width: 55px;
    border: 1px solid black;
    border-radius: 10px;
    margin: 5px;
    text-align: center;
    justify-content: center;
    flex: 0 0 70px;
    flex-direction: column;
    position: relative;
    /* Enable positioning for absolute positioning of circles */
}

.vdv_calendar_box.vdv_cal_past.vdv_cal_submited.vdv_cal_centre {
    color: black !important;
}

.vdv_calendar_box.vdv_cal_past:hover {
    color: black;
    border: 1px solid #3913e3;
    box-shadow: 0 0 5px #3913e3;
}

.vdv_calendar_box>div {
    height: 26px;
}

.vdv_calendar_boxes>div.vdv_cal_today {
    background-color: rgb(0 158 255 / 70%) !important;
}


/* Days statuses */

/* Circle styles for each status */
.vdv_calendar_boxes>div.vdv_cal_approved {
    background-color: #58c058 !important;
    color: #000000;
}

.vdv_calendar_boxes>div.vdv_cal_waiting::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #ffe100;
    border-radius: 50%;
    border: .1px solid black;
    position: absolute;
    top: 46px;
    left: 5px;
    /* Move this circle slightly to the right */
    display: block;
}

.vdv_calendar_boxes>div.vdv_cal_declined::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #c2433c;
    border-radius: 50%;
    position: absolute;
    top: 46px;
    left: 40px;
    /* Position the third circle further to the right */
    display: block;
}

.vdv_calendar_boxes>div.vdv_cal_past,
.vdv_calendar_boxes>div.vdv_cal_not_submited {
    background-color: #c2433c94;
}

.vdv_calendar_boxes>div.vdv_cal_submited {
    background-color: white;
}

.vdv_calendar_boxes>div.vdv_cal_future {
    background-color: rgb(145 145 145 / 42%);
}

.vdv_calendar_box.submited {
    background-color: orange;
}

.vdv_calendar_box.missed {
    background-color: #ffb3b3;
}

.vdv_calendar_box.disabled {
    opacity: 0.4;
}

.vdv_form_element_style button[type=submit]:hover,
.post-password-form input[type=submit]:hover {
    background-color: white;
    color: #c2433c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.post-password-form {
    text-align: center;
    font-size: 20px;
}

/* label inside of input*/
.vdv_wage_list thead th {
    text-align: center;
}

.vdv_wage_list .vdv_labled_inputs {
    padding: 0px;
}

.vdv_wage_list .vdv_labled_inputs {
    padding: 0px;
}

.vdv_wage_list input {
    margin: 0px;
}

.vdv_wage_list .vdv_labled_inputs>.wage label {
    top: 4px;
    margin: 0px;
}

.vdv_labled_inputs>h5 {
    margin: 0;
}

.vdv_labled_inputs>div {
    position: relative;
    display: inline-block;
}

.vdv_labled_inputs>div input {
    position: relative;
    padding: 12px;
    padding-left: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.vdv_labled_inputs>div label {
    position: relative;
    z-index: 2;
    height: 0px;
    color: #c2433c;
}

.vdv_labled_inputs.top>div input {
    padding-bottom: 0px;
}

.vdv_labled_inputs.top>div label {
    font-size: 15px;
}

.vdv_labled_inputs>div.hours label {
    left: 0px;
    top: 23px;
}

.vdv_labled_inputs>div.hours input {
    width: 60px;
}

.vdv_labled_inputs>div.from label {
    left: -2px;
    top: 18px;
}

.vdv_labled_inputs>div.to label {
    left: -12px;
    top: 18px;
}

.vdv_labled_inputs>div.from input,
.vdv_labled_inputs>div.to input {
    padding-right: 5px;
    width: 65px;
}

.vdv_labled_inputs>div.wage input {
    padding-left: 34px;
    font-size: 18px;
    width: 107px;
    margin: 0px !important;
}

#vdv-invoice-settings .vdv_labled_inputs>div.wage::after {
    content: "/day";
    position: absolute;
    right: 5px;
    top: 15px;
    font-size: 15px;
    color: #c2433c;
    font-weight: 500;
}

#vdv-invoice-settings .vdv_labled_inputs>div.wage::after {
    top: 22px;
    right: 4px;
}

#vdv-invoice-settings .vdv_labled_inputs>div.wage label {
    top: 14px !important;
}

.vdv_labled_inputs>div.wage label {
    left: 12px !important;
    top: 8px !important;
    font-size: 23px;
}

.vdv_labled_inputs.normal>div label {
    left: 11px;
    top: -3px;
    position: absolute;
}

.vdv_labled_inputs.normal>div input {
    padding-top: 20px !important;
}

#quantity_wrapper .quantity_name {
    width: 76%;
}

#quantity_wrapper .quantity {
    width: 23%;
}

/* end form elements style */

/*Safari fixes*/
input,
select,
textarea,
button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    /* Removes iOS rounded corners */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@supports (-webkit-touch-callout: none) {

    /* Safari/iOS specific fixes */
    input,
    label {
        line-height: 1.4;
        font-size: 16px;
    }
}

/* Hide the spin buttons in WebKit browsers */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide spin buttons in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.vdv-shift-table {
    width: 100%;
    margin-top: 10px;
    font-size: 13px;
}

.vdv-shift-table thead {
    background-color: #58c0583a;
    border-radius: 10px;
    border: 1px solid #58c058;
}

.vdv-shift-table th {
    border: 1px solid transparent;
    padding: 5px !important;
    text-align: left;
    vertical-align: top;
    line-height: 1.3;
}

.vdv-shift-date-time {
    color: #000;
    font-weight: bold;
    width: 65px;
}

.vdv-shift-date-time p {
    margin: auto;
    text-align: center;
}

th.vdv-shift-info {
    padding: 0px !important;
}

th.vdv-shift-info .vdv-shift-from-to {
    position: absolute;
    left: 17px;
    bottom: 0;
}

.vdv-shift-info>div {
    position: relative;
    color: black;
}

.vdv-shift-info>div>div {
    display: inline-block;
    vertical-align: middle;
}

.vdv-shift-info>div>div.vdv_shift_data {
    margin-right: 70px;
    margin-left: 70px;
    text-align: center;
    display: block;
}

.vdv-shift-info p.vdv-shift-hours {
    padding-right: 10px;
    font-size: 15px;
    display: inline-block;
    margin: auto;
}

.vdv-shift-info .vdv-shift-from-to p {
    padding: 0px;
    font-size: 10px;
    margin: 0 auto;
    display: inline-block;
}

.vdv-shift-info .vdv-shift-from-to p>span {
    display: block;
}

.vdv-shift-info>div>div>div {
    vertical-align: middle;
}

.vdv-shift-info>div>div>div>i {
    font-size: 15px;
    margin-left: 10px;
    font-weight: 700;
}

.vdv-shift-type {
    font-style: italic;
    color: #000000;
}

th.vdv-shift-type,
th.vdv-shift-wage {
    padding: 1px 5px 1px 5px !important;
    vertical-align: middle;
}

th.vdv-shift-site {
    text-align: center;
    font-weight: normal;
    color: #000000;
    border-right: 0px;
    margin: auto;
    vertical-align: middle;
}

.vdv-shift-wage {
    color: black;
    font-weight: 600;
}

th.vdv-shift-actions {
    width: 70px;
    text-align: right;
    padding: 0 !important;
    border-left: 0px;
}

table.vdv_day_editing {
    border: 2px solid #c2433c;
    box-shadow: 0 0 10px #c2433c;
}

th.vdv-shift-actions span {
    color: black;
}

th.vdv-shift-actions .vdv-day-status {
    display: block;
    position: relative;
    margin: auto;
    right: 0px;
    padding: 3px;
    font-size: 12px;
    border: 1px solid transparent;
}

th.vdv-shift-info .vdv-edit-action:hover {
    background-color: #58c058;
}

th.vdv-shift-info .vdv-edit-action {
    width: 69px;
    display: block;
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 8px;
    font-size: 16px;
    background-color: #2a7c4f;
    color: white;
    cursor: pointer;
}

table.vdv-shift-table.vdvShiftNew {
    border: 1.5px solid #2a7c4f;
}

.vdvShiftNew thead {
    background-color: white;
}

th.vdv-shift-actions.New .vdv-day-status {
    background-color: white;
}

.vdvShiftApproved thead {
    background-color: #58c05891;
}

.vdvShiftApproved thead th {
    border-color: transparent;
}

th.vdv-shift-actions.Approved .vdv-day-status {
    background-color: #58c05891;
}

.vdvShiftDeclined thead {
    background-color: #ff6f0078;
}

.vdvShiftDeclined thead th {
    border-color: transparent;
}

th.vdv-shift-actions.Declined .vdv-day-status {
    background-color: #c2433c;
    color: white;
}

.vdvShiftWaiting thead {
    background-color: #ffeb1dba;
}

th.vdv-shift-actions.Waiting .vdv-day-status {
    background-color: #ffb71dba;
}

#already_submited {
    margin-bottom: 0px;
}

i.vdv_color_label {
    color: #c2433c;
    position: absolute;
    top: -2px;
    left: 8px;
}

#vdv_time_hours select {
    width: 75px;
    padding-top: 18px
}

#forgotten_password {
    color: #c2433c;
}

form.vdv_password_form {
    width: 440px;
}

.vdv-success {
    background-color: #e0f7e9;
    color: #2a7c4f;
    padding: 15px;
    border-left: 5px solid #2a7c4f;
    margin-bottom: 20px;
}

.vdv-logged-in-menu li a {
    display: inline-block;
}

.holiday-menu {
    color: #04e976;
}

.invoices-menu {
    color: #FFD700;
}

.vdv-logged-in-menu li a>span {
    display: block;
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

/* timesheets list */

/* === Container Styles === */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    background: #f9fafb;
}

/* === Heading === */
.wrap h3.wp-heading-inline {
    font-size: 24px;
    margin-bottom: 1rem;
    color: #333;
}

/* === Filter Form === */
.vdv-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    position: relative;
}

.vdv-filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

select,
input[type="date"] {
    padding: 8px 10px;
    font-size: 14px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* === Status Filters === */
.vdv-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 2px;
}

.checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.checkbox input[type="checkbox"] {
    margin-right: 6px;
}

/* === Filter Results Count === */
#vdv-table-results-info h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

/* === Bulk Select === */
.bulk_select {
    display: flex;
    position: relative;
    align-items: center;
    background: #fff;
    padding: 14px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* === Bulk Buttons === */
#vdv-bulk-actions {
    position: absolute;
    right: 5px;
}

#vdv-bulk-actions button {
    display: inline-block;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Card styling (reuse from earlier) */
.vdv-timesheet-card {
    position: relative;
    display: block;
    border: 1px solid #ccc;
    border-left: 5px solid #0073aa;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0px 7px 25px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.vdv-timesheet-card.approved {
    border-left-color: #28a745;
}

.vdv-timesheet-card.declined {
    border-left-color: #dc3545;
}

.vdv-timesheet-card.waiting {
    border-left-color: #ffc107;
}

.vdv-timesheet-card.new {
    border-left-color: #0073aa;
}

/* Status label styling */
.vdv-status-label {
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    text-transform: capitalize;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Specific status colors */
.vdv-status-label.approved {
    background-color: #28a745;
}

.vdv-status-label.declined {
    background-color: #dc3545;
}

.vdv-status-label.waiting {
    background-color: #ffc107;
    color: #000;
}

.vdv-status-label.new {
    background-color: #0073aa;
}

/* More compact date section */
.vdv-card-section .vdv-date {
    font-weight: bold;
    display: inline-block;
}

/* Action section tighter */
.vdv-card-section.vdv-actions {
    align-items: center;
    margin-top: 6px;
}

.vdv-card-section.vdv-actions button {
    padding: 4px 8px;
    font-size: 13px;
    display: inline-block;
}

.vdv-card-section .action-buttons {
    position: absolute;
    right: 5px;
    top: 5px;
}

.vdv-card-section.vdv-shift-info strong {
    color: #000;
}

.vdv-card-section.vdv-actions .checkbox {
    position: absolute;
    left: 5px;
    top: 5px;
}

/* Edit section small timestamp */
i.vdv-card-section.vdv-edit {
    font-size: 11px;
    color: #666;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-right: 5px;
}

/* Checkbox align */
.checkbox {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 13px;
}

/* === Pagination === */
.vdv-pagination {
    margin-top: 24px;
    text-align: center;
}

.vdv-pagination a {
    margin: 0 6px;
    text-decoration: none;
    color: #0073aa;
}

.vdv-pagination a[style*="bold"] {
    font-weight: bold;
    color: #000;
}

/* New */

.vdv-filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.vdv-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.vdv-status-filters label.checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.vdv-green-btn {
    display: block;
    margin: auto !important;
    border: 1px solid #2a7c4f;
    background-color: #2a7c4f;
    color: white;
    height: auto;
}

.vdv-green-btn:hover {
    border: 1px solid #2a7c4f;
    background-color: white;
    color: #2a7c4f;
}

.vdv-orange-btn {
    display: block;
    margin: auto !important;
    border: 1px solid #f68300;
    background-color: #f68300;
    color: white;
    height: auto;
}

.vdv-orange-btn:hover {
    border: 1px solid #f68300;
    background-color: white;
    color: #f68300;
}

.vdv-orange-btn:hover>i {
    border-color: #f68300;
}

.vdv-red-btn {
    display: block;
    margin: auto !important;
    border: 1px solid #c2433c;
    background-color: #c2433c;
    color: white;
    height: auto;
}

.vdv-red-btn:hover {
    border: 1px solid #c2433c;
    background-color: white;
    color: #c2433c;
}

.vdv-small-btn {
    font-size: 11px;
    padding: 6px;
}

#vdv-site-select {
    position: relative;
}

#vdv_assign_users {
    display: none;
    position: absolute;
    bottom: -13px;
    left: 10px;
}

#vdv_assign_users>i.arrow {
    border-width: 0px 3px 3px 0;
    padding: 3px;
    border-radius: 2px;
}

/* New CSS ADDITION  */

/* Highlighted site/user text */
.vdv-highlight-text {
    font-size: 15px;
    color: #1a1a1a;
}

.vdv-card-section {
    gap: 1px;
}

/* Modal */
.vdv-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 20;
}

.vdv-popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
}

.vdv-popup-content h4 {
    margin-bottom: 0px;
    padding: 5px;
    font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-align: center;
}

.vdv-popup-content h2 {
    font-weight: 700;
    margin-top: 0;
}

.vdv-red-color-invert {
    color: white;
    background-color: #c2433c;
}

.vdv-green-color-invert {
    color: white;
    background-color: #64a15a;
}

.vdv-popup-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 20px;
}

.vdv-popup-close:hover,
.vdv-popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.vdv_popup_table table {
    width: 100%;
}

.vdv_popup_table table button {
    width: 100%;
}

.vdv_popup_table table td {
    border: none !important;
    font-size: 14px;
}

.vdv_popup_table table button {
    width: 100%;
    font-weight: 600;
    padding: 1px;
}

.vdv_popup_users {
    height: 150px;
    overflow: auto;
    border: 1px solid black;
    padding: 5px;
}

#vdv-popup-site h2 {
    font-size: 19px;
    position: absolute;
}

input.search_users_popup_remove,
input.search_users_popup_assign {
    width: 100%;
    border-radius: 0%;
    margin: 0;
    margin-bottom: 0 !important;
    border-bottom: none;
    border-top: none;
    height: 30px;
    font-size: 12px;
}

/* End Modal */

* {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

@media (max-width:700px) {

    .vdv-invoices-app-content {
        width: 100%;
        margin-top: 60px;
        padding: 16px;
        border-radius: 0;
    }

    .vdv_calendar_box {
        width: 48px;
        height: 56px;
    }
}

@media only screen and (max-width: 490px) {
    #quantity_wrapper .quantity_name {
        width: 100%;
    }

    #quantity_wrapper .quantity {
        width: 50%;
    }

    form.vdv_password_form {
        width: 100%;
    }

    .vdv-popup-content {
        padding: 10px;
        width: 100%;
    }
}

.vdv-holidays-input>div {
    width: 100%;
    margin: auto;
    text-align: center;
}

.vdv-holidays-input>div>#holiday_to_label,
.vdv-holidays-input>div>#holiday_from_label {
    position: relative;
    left: 7px;
    top: -15px;
    width: 0px;
}

.vdv-holidays-input label {
    display: inline-block;
    color: #c2433c;
    font-weight: 500;
    font-size: 13px;
}

.vdv-holidays-input input {
    display: inline-block;
    width: 130px !important;
    height: 45px;
}

.save-holiday,
.cancel-holiday {
    display: inline-block;

}

#vdv_uploaded_files_list {
    display: block;
}

#vdv_file_upload>input {
    display: block;
    height: auto;
    color: #c2433c;
    border: none;
    margin: auto !important;
}

.vdv-remove-row-btn {
    color: #c2433c;
    display: inline-block;
    border: none;
    background-color: transparent;
    font-size: 30px;
    font-weight: 500;
    line-height: 25px;
    padding: 0px;
    vertical-align: middle;
}

.file-item {
    padding-top: 10px;
}