/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

a.wplf-lostpassword {
    display: none;
}

#wp-submit {
    width: 100%;
    background-color: var(--wd-primary-color);
    color: white;
    border-radius: 5px;
}

.page-title .title {
    font-size: 1rem !important;
}

.page-title {
    border-bottom: 1px solid #eee;
}

.logout-btn img {
    width: 24px;
}

.logout-btn {
    border: none !important;
}

.mobile-nav img {
    border: 2px solid #ddd;
    border-radius: 5px;
}

.page-title-default {
    margin-bottom: 0 !important;
}

#persons-tabs {
    background: #f4f4f4;
    margin: 0 -1em;
    margin-bottom: 1em;
}

#persons-tabs button.active {
    background-color: white !important;
}

#persons-tabs button {
    background: transparent;
}

#persons-list {
    text-align: center;
    margin: 0 0 1em 0;
}

#persons-list .person, .person-select .person {
    /*display: flex;*/
    padding: 1em;
    border: 1px solid #eee;
    text-align: right;
    /*margin-top: 1em;*/
}

.person-row {
    display: flex;
    align-items: center;
    gap: 1em;
}

#persons-list .person:not(:last-child) {
    border-bottom: 0 !important;
}

#persons-list .person .person-img,
.person-select .person .person-img {
    width: 15%;
}

#persons-list .person-info span,
.person-select .person-info span {
    display: block;
    font-weight: bold;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.person-selects, .datepickers {
    display: flex;
    gap: 0.5em;
}

.person-selects .column, .datepickers .column {
    margin: 1.5em 0;
    width: 50%;
}

.person-select, .person {
    cursor: pointer;
}

.persons-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    z-index: 10000;
    margin: 0 !important;
    display: none;
}

.input-field {
    margin-bottom: 1em;
}

.price-input::before {
    content: attr(data-unit);
    position: absolute;
    left: 3em;
    top: 50%;
    transform: translateY(-50%);
}

.price-input {
    position: relative;
}

.persons-modal #persons-search-input {
    border: none;
}

.form-submit {
    position: fixed;
    bottom: 3em;
    width: 100%;
    padding: 0 !important;
    right: 0;
}

.form-submit input[type=submit] {
    width: 100%;
    padding: 0 !important;
    background: var(--wd-primary-color);
    color: white;
}

.wait-toast {
    position: fixed;
    z-index: 102;
    color: #fff;
    bottom: 15vh;
    text-align: center;
    width: 40%;
    background: #1ad514;
    transition: all 0.5s;
    font-weight: bold;
    display: block;
    right: 30%;
    padding: 0.7rem;
    border-radius: 5px;
    box-shadow: 0 11px 25px rgba(48, 203, 206, 0.4);
    font-size: small;
    z-index: 1000;
}

.load-before-ajax {
    color: #ddd;
    padding: 1em 0;
    display: block;
}

.price-monitor {
    color: black;
    padding: 0.5em 0;
    display: block;
}

.role-label {
    color: #aaa;
    float: left;
}

.person-name {
    color: var(--wd-primary-color)
}

.person-info {
    width: 100%;
}

table, table th, table td {
    font-size: small;
    padding: 8px 5px !important;
}

table img.type {
    /*width: 5em;*/
}

.transactions-btns {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.transactions-btns a {
    width: 50% !important;
}

.trx-more {
    position: fixed;
    background: white;
    width: 90%;
    top: 30%;
    left: 5%;
    /*padding: 0.7em;*/
    border: 1px solid #ddd;
    z-index: 10;
}

.trx-more-container:before {
    content: '';
    width: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.1);
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.trx-more-container {
    display: none;
}

.trx-more-header {
    border-bottom: 1px solid #eee;
    text-align: right;
}

.trx-more-close {
    padding: 0.7em 1em;
    display: block;
    font-size: larger;
    cursor: pointer;
}

.trx-more img.type {
    width: 25px !important;
}

.wd-toolbar-label {
    font-size: 0.9rem !important;
}

.action-buttons button {
    margin-left: 2px;
    margin-right: 2px;
}

.action-buttons {
    text-align: left;
    display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.row-icon {
    padding: 0.3em !important;
}

.btn.btn-color-red {
    background-color: #ff6b6b;
    color: white;
}

.persons-modal .person-info a {
    display: none;
}

.datepicker-plot-area {
    font-family: var(--wd-title-font) !important;
}

.pwt-btn-calendar {
    display: none !important;
}

.pwt-btn-submit {
    width: 50%;
    background-color: var(--wd-primary-color) !important;
    color: white !important;
    border-radius: 8px;
    margin: 0 1em 0 0.5em !important;
}

.pwt-btn-today {
    width: 50%;
    background-color: var(--wd-alternative-color) !important;
    color: white !important;
    border-radius: 8px;
    margin: 0 0.5em 0 1em !important;
}

.datepicker-plot-area .toolbox {
    display: flex !important;
    direction: rtl !important;
}

.user-title {
    float: left;
    font-size: small;
    color: lightblue;
    padding: 1px 0;
}

.person-status {
    /*padding: 0.3em;*/
    margin-top: 1em;
}

#date-filter {
    margin-top: 1em;
}

.person-status ul {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow-x: scroll;
}

.person-status ul li {
    display: inline-block;
    margin: 0;
    padding: 3px;
    border-radius: 3px;
    font-size: smaller;
    font-weight: bold;
}

.person-status ul li.debtor {
    color: rgb(222, 75, 57);
}

.person-status ul li.creditor {
    color: rgb(0, 177, 122);
}

.persons-modal .person-status {
    display: none !important;
}

p span {
    font-weight: bold;
    color: black;
}

.action-buttons a, .action-buttons button {
  flex: 0 0 calc(50% - 5px);
  width: 30px;
}

.website-wrapper {
  max-width: 900px;
  margin: 0 auto;
}