.grecaptcha-badge {
    transform: scale(0.5) translateX(-55px) translateY(25px) !important;
}

.toolbar_fpt {
    background: linear-gradient(to right, #1565C0, #1976D2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.f11 {
    font-size: 11px;
}

.red {
    color: red;
    font-size: 11px;
    font-weight: bold;
}

.green {
    color: green;
    font-size: 11px;
    font-weight: bold;
}

.status_bar {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    /* padding: 4px 8px; */
}

.toolbar_group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0 4px;
    margin: 0 4px;
    transition: background 0.2s ease;
}
.search_form_toolbar {
    margin-top: 0px !important;
}

/* .toolbar_group:hover {
    background: rgba(255, 255, 255, 0.15);
} */

.toolbar_group .webix_button {
    color: white;
    transition: transform 0.1s ease;
}

.toolbar_group .webix_button:active {
    transform: scale(0.95);
}

.toolbar_button .webix_template {
    line-height: 20px;
    text-align: center;
}

.webix_toolbar .toolbar_group .webix_button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.label_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    margin-left: -2px !important;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .toolbar_fpt {
        height: auto !important;
        padding: 8px;
    }

    .title {
        font-size: 16px;
        padding: 8px 0;
    }

    .toolbar_group {
        margin: 4px 2px;
    }

    .label_btn {
        font-size: 10px;
    }

    .webix_toolbar .webix_view {
        padding: 2px;
    }
}

/* Loading indicator */
.loading-message {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    border-radius: 4px;
    padding: 8px 16px !important;
}

/* Search form enhancements */
.tt_selector .webix_segment_0,
.tt_selector .webix_segment_1 {
    padding: 2px 8px;
    font-weight: 500;
}

/* PDF viewer enhancement */
.pdf_viewer {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 8px;
}




.sign-method-list .webix_list_item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 8px;
  padding: 10px;
  transition: 0.2s;
}
.sign-method-list .webix_list_item.webix_selected {
  border-color: #1976d2;
  background: #e3f2fd;
}
.sign-card {
  display: flex;
  align-items: flex-start;
}
.sign-card-radio {
  margin-right: 12px;
  margin-top: 10px;
}
.sign-card-icon {
  margin-right: 12px;
}
.sign-card-title {
  font-weight: bold;
  font-size: 16px;
}
.sign-card-desc {
  font-size: 13px;
  color: #555;
}

.sign-card {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative; /* để radio bám theo card */
}

.sign-card-left {
  display: flex;
  align-items: center;
  flex: 1;  /* chiếm hết khoảng trống bên trái */
}

.sign-card-radio {
  position: absolute;
  right: 15px;   /* dính sát lề phải card */
  top: 50%;
  transform: translateY(-50%); /* căn giữa theo chiều dọc */
}

.sign-radio {
  width: 22px;
  height: 20px;
  accent-color: #1976d2;
  cursor: pointer;
}
.sign-card-link {
  display: inline-block;
  margin-top: 6px;
  color: black !important;
  font-weight: bold;
  border-radius: 6px;
  font-size: 13px;
  transition: background 0.2s;
}
.sign-card-guide {
  display: inline-block;
  color: black !important;
  font-weight: bold;

  font-size: 13px;
  transition: background 0.2s;
  margin: 0;   
}

.webix_win_content .webix_scroll_cont.webix_list_item.sign-card {
  background: #fff !important;
}

.webix_win_content .webix_scroll_cont 
.webix_list_item.sign-card {
  background: #fff !important; /* ép lại màu */
  color: black !important;
}
.webix_win_content .webix_scroll_cont 
.webix_list_item.sign-card.webix_list_item_hover {
  background: #fff3f3 !important;
  color: black !important;
}

.webix_list_item.sign-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;   
  line-height: 1.4;
}
.sign-card-title {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  margin: 0;
}
.sign-card-desc {
  font-size: 13px;
  color: #444;
  margin: 0;
  line-height: 1.3;
}

.search-form-header {
  display: flex !important;
  justify-content: space-between !important; 
  align-items: center;                       
}

.search-form-header .welcome-text,
.search-form-header .webix_el_button {
  margin-left: 8px;
  display: inline-block;
}
.webix_win_content .webix_scroll_cont .webix_list_item.sign-card {
  border: 1px solid #ccc !important; 
  border-radius: 6px;                
  margin-bottom: 8px;               
  overflow: hidden;              
}

.signing_info {
  font-size: 12px;
  margin: 6px auto;
  text-align: center;
}