/**
 * @version     CVS: 1.4
 * @package     com_rahoffices
 * @copyright   2026 iSonic Pty Ltd
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      iSonic Digital <support@isonic.com.au>
 */

/* Temporary to test the background */
div#tm-main { 
   background: #e9e9e9;
}

/* Search Filters */
.js-stools-container-filters {
   display: none;
}

.js-stools-container-filters-visible {
   display: block;
}

/* Profile Items & Compliance Badges */
.compliantbadge {
   background: linear-gradient(0deg, #00b59c, #9cffac);
   border-radius: 10px;
   color: white;
   text-align: center;
}

.noncompliantbadge {
   background: linear-gradient(0deg, #ff3939, #ffb059);
   border-radius: 10px;
   color: white;
   text-align: center;
}

.compliancebadge-table {
   font-size: 12px !important;
}

.profiledetails a {
   text-decoration: none;
}

.uk-label-danger.compliancebadge-table {
   background: linear-gradient(0deg, #ff3939, #ff6b46);
}

.uk-label-success.compliancebadge-table {
   background: linear-gradient(0deg, #00b59c, #00b573);
}

.textcontainer {
   line-height: 13px;
   padding-top: 5px;
}

.badgeheading {
   font-size: 22px;
   font-weight: 560;
   line-height: 1em;
}

.badgesubheading {
   font-size: 14px;
   font-weight: 300;
}

.complianceicon {
   position: absolute;
   top: 30px;
   left: 3px;
}

.uk-tooltip {
   border-radius: 6px !important;
   background: #063852 !important;
}

.staffprofile-header h4 {
   font-size: 24px;
   font-weight: bold;
   color: #063852;
}

.staffprofile-header h4 .fas.fa-heart {
   font-size: 20px;
   margin-left: 10px;
}

.profile-navigation li a {
   font-size: 15px !important;
   text-decoration: none;
}

span.uk-leader-fill {
   color: black;
}

.uk-description-list>dt {
   color: black !important;
   font-size: 14px !important;
}

.card-dotted {
   border: 1px dashed #a4bfcd;
   border-radius: 9px;
   color: #063852;
   line-height: 1em;
   padding: 9px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center;
}

.card-dotted .mainstat {
   font-size: 28px;
   font-weight: bold;
   line-height: 30px;
}

.card-dotted .substat {
   font-size: 14px;
}

.card-dotted.clickable {
   cursor: pointer;
   transition: box-shadow 0.2s ease;
}

.card-dotted.clickable:hover {
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.tags-list {
   font-size: 11px;
}

.tags-list i.uk-icon svg {
   height: 14px;
}

/* Filters */
.table-filter .input-group button.filter-search-bar__button {
   border-radius: 0 100% 100% 0 !important;
   width: 38px;
   padding: 0 10px;
   line-height: 1;
   height: 38px;
   margin: 1px 16px 0 -39px !important;
   z-index: 3;
}

.table-filter button.filter-search-actions__button {
   padding: 0 10px;
   font-size: 14px;
   border-radius: 11px;
   height: 40px;
}

.table-filter button.filter-search-actions__button.btn.btn-primary.js-stools-btn-filter {
   background: #24466c;
}

.table-filter input#filter_search {
   width: 16rem;
   background: none;
   border-radius: 100px;
   border: 1px silver solid !important;
   height: 40px;
   padding: 0 20px;
   font-size: 14px;
}

.chosen-container-single {
   width: auto !important;
   float: left;
   margin-right: 8px;
   margin-top: 10px;
   display: flex;
}

.ordering-select {
   clear: both;
}

.btn-toolbar {
   justify-content: flex-end !important;
}

/* Activity Page */
.activityUpdatedBy {
   font-size: 11px;
   color: #adadad;
}

.secondary-office-badge {
   background: #565656 !important;
   font-size: 11px !important;
}

/* Autofiling Status Badge Hover Effects */
.autofiling-status-container {
    transition: all 0.2s ease-in-out;
    display: inline-block;
    border-radius: 500px; /* Match UIkit border-rounded */
}

.autofiling-status-container .uk-label {
    transition: all 0.1s ease-in-out;
    border: 1px solid transparent;
}

/* Hover: Invert colors (White background, colored outline and text) */
.autofiling-status-container:hover .uk-label {
    background-color: #ffffff !important;
    box-shadow: 0 0 12px 2px #0003;
}

.autofiling-status-container:hover .uk-label-success,
.autofiling-status-container:hover .uk-label-success i {
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.autofiling-status-container:hover .uk-label-warning,
.autofiling-status-container:hover .uk-label-warning i {
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}

.autofiling-status-container:hover .uk-label-danger,
.autofiling-status-container:hover .uk-label-danger i {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

/* Office Address Box */
.office-address-box {
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 10px 14px;
   transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.office-address-box:hover {
   border-color: #cbd5e1;
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.office-address-icon {
   color: #24466c;
   margin-top: 2px;
   flex-shrink: 0;
}

.office-address-text {
   line-height: 1.6;
   color: #334155;
}
