/* ajustes generales */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .dark-blue, .card-title {
    color: #033d7e;
}

.btn {
    border-radius: 50px !important;
}

.dropdown-toggle { /* para default selects */
    border-radius: 0.75em !important;
}

.bg-skyblue {
    background-color: #b3e0f9;
}

.beige-bg {
    background-color: #d1bda0;
    color: white !important;
}

.blue-bg {
    background-color: #4160d5;
    color: white !important;
}

.text-gray {
    color: #707070;
}

.nav-pills .nav-link.active {
    background-color: #2C2F34;
}

.page-titles {
    background-color: transparent;
}

.property-card {
    border-radius: 30px !important;
}

.property-card.style-1 .dz-meta ul li svg path {
    fill: #00C2ED;
}

.notification-link:hover {
    background: #f8f9fa;
    border-radius: 12px;
    color: #2C2F34;
}

.disabled {
    pointer-events: none;
    cursor: default;
}

/* ajustes de sidebar */
[data-sidebar-position="fixed"][data-layout="vertical"] .nav-header {
    border-top-right-radius: 40px;
}

.deznav {
    border-bottom-right-radius: 40px;
}

[data-sidebar-style="compact"] .deznav .metismenu li a::before {
    background: #00C2ED;
}

.ai-icon {
    padding: 1.5em !important;
}

.deznav .ai-icon:hover, .deznav .ai-icon:active, .deznav .ai-icon.mm-active, .deznav .mm-active > a.ai-icon {
    color: white !important;
    background: #033d7e !important;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.deznav .metismenu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.1em;
}

.submenu li.mm-active > a, .submenu a:hover {
    background: #D2E6F1 !important;
    border-radius: 12px;
}

/* ajustes de header */
.header {
    width: 400px;
    position: fixed;
    right: 0;
    top: 0;
    justify-content: center;
    padding-left: 0px;
    border-bottom-left-radius: 30px;
    box-shadow: 0px 4px 4px 0px #0000001A;
}
@media only screen and (max-width: 768px) {
    .header {
        width: 200px;
        padding-right: 2em !important;
    }
    .header-content{
        padding-left: 1rem !important;
    }
}
@media only screen and (max-width: 575px) {
    .header {
        width: 150px;
    }
    .header-content{
        padding-left: 0.5rem !important;
    }
}

.header-right .header-profile > a.nav-link .header-info {
    border-left: none;
}

.search-bar {
    width: 130px;
    font-weight: 500 !important;
}

.search-input::placeholder {
    color: #033d7e !important;
    opacity: 1;
    font-weight: 500;
}

/* ajustes perfil de agente */
.property-social a { /* social media links en agentes y propiedades */
    color: #00C2ED;
    background-color: #F0FAFF;
}

.widget-stat.card {
    background: #295A92;
    color: white !important;
}

.widget-stat.card p {
    font-weight: lighter !important;
    font-size: 13px !important;
}

.bg-iconwidget {
    background: #4470A2;
}

.badge-property {
    border-radius: 15px;
}

/* ajustes de propiedades detalle */
.property-detail-card {
    background-color: #2C2F34;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    overflow: hidden;
    z-index: 1;
} .property-detail-card:after {
    position: absolute;
    content: "";
    bottom: 0.3rem;
    right: 1rem;
    background-image: url("../images/home.svg");
    background-repeat: no-repeat;
    background-position: bottom right;
    height: 100%;
    width: 100%;
    z-index: -1;
    filter: grayscale(100%);
}

.property-detail-rounded {
    background-color: #F0FAFF;
    color: #033d7e;
    padding: 8px 12px 8px 12px !important;
    border-radius: 30px;
}

/* estilos para badges de leads */
.badge-new, .badge-approved, .badge-observation, .badge-open, .badge-process, .badge-rejected, .badge-beige, .badge-closing, .badge-negotiation, .badge-initial, .badge-darkgray, .badge-legal, .badge-inactive {
    border-radius: 30px;
}

.badge-darkgray {
    background-color: #819EBF;
    color: white;
}

.badge-inactive {
    background-color: #796255;
    color: #fcfcfc;
}

.badge-legal {
    background-color: #500ea6;
    color: white;
}

.badge-closing {
    background-color: #D7D8D9;
    color: #707070;
}

.badge-initial {
    background-color: #B0E3FF;
    color: #033D7F;
}

.badge-negotiation {
    background-color: #7BC4B0;
    color: white;
}

.badge-new {
    background-color: #4160D5;
    color: white;
}

.badge-open {
    background-color: #B0E3FF;
    color: #033d7e;
}

.badge-process {
    background-color: #F6CD39;
    color: #2C2F34;
}

.badge-observation {
    background-color: #D7D8D9;
    color: #2C2F34;
}

.badge-approved {
    background-color: #52CE6D;
    color: white;
}

.badge-rejected {
    background-color: #F95471;
    color: white;
}

.badge-beige {
    background-color: #d1bda0;
    color: white;
}

.profile-box:after {
    background-image: url("../images/kazu-elementos02.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

[data-url] { cursor: pointer; }

.paginate_input {
    margin: 0 0.5em;
}

.input-group .invalid-feedback.is-valid {
    display: none !important;
}

.input-group.icon-after .invalid-feedback {
    display: none !important;
}

.error-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
}

.jodit-container ul li {
    list-style-type: disc !important;
    list-style-position: inside;
}
.jodit-container ol li {
    list-style: decimal !important;
}

.close-btn {
    background-color: transparent;
    border: none;
    font-size: 1.8em;
    color: #707070;
}

#comments-container {
    width: 100% !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

.italic {
    font-style: italic;
    color: #777777;
}

.btn-share {
    padding: 0;
    border: none !important;
}

.btn-share:hover, .btn-share:focus {
    border: none !important;
}

.btn-share:hover svg path, .btn-share:focus svg path {
    fill: #033d7e;
}

.inline {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    justify-content: center;
}

.pending-action {
    content: '';
    margin-left: 0.5em;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

tr.table-bold td {
    font-weight: bold !important;
    color: #033d7e !important;
}

.unread {
    background-color: #F0FAFF;
    border-radius: 10px;
}

.disclaimer {
    font-size: 9px !important;
    color: #a0a0a0;
}

.underline {
    text-decoration: underline !important;
}

.cm-content-box {
    border-radius: 30px !important;
}

/* cambios estilos de paginación */
.pagination-gutter .page-item .page-link {
    border-radius: 50% !important;
    height: 40px !important;
    width: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pagination {
    flex-wrap: wrap !important;
}

/* resize de imagenes de propiedades y proyectos */
.resize-image {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
}

/* cambiar estilo de cursor para el boton de ver clave */
#togglePassword {
    cursor: pointer !important;
}

/* posicionar la label sobre el borde superior del input */
.label-on-top {
    position: absolute;
    top: -10px;
    left: 12px;
    background: white;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: #033D7F;
    z-index: 1;
}

.bg-muted {
    background-color: #FAFBFF !important;
    border-radius: 5px;
}

/* estilos pills de tokens bloqueados y disponibles */
.balance-pill {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
  border: 1px solid #f3f3f3;
  font-size: 14px;
  font-weight: 500;
}

.balance-locked {
  background-color: #fff3f3;
  color: #e53935;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-available {
  background-color: #e5f4ea;
  color: #43a047;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-qualified {
    background-color: #eaf3ec;
    color: #155724;
    border-radius: 20px;
    border: #d4edda solid 1px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

.pill-tokenholder {
    background-color: #e6f2ff;
    color: #004085;
    border-radius: 20px;
    border: #cce5ff solid 1px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}
