/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: cornflowerblue;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.visits-form .form-control,
.visits-form .ts-control,
.visits-form .tomselected {
    border: 2px solid rgb(var(--default-text-color)) !important;
    box-shadow: none !important;
}

.visits-form .form-control:focus,
.visits-form .ts-control:focus,
.visits-form .tomselected:focus {
    border-color: rgb(var(--primary)) !important;
    box-shadow: 0 0 0 1px rgb(var(--primary)) !important;
}
