/* ===== FORM LABELS ===== */
.entityform label {
    font-weight: 500;
    color: #53605F;
    margin-bottom: 4px;
    font-size: 0.9rem;
    
}
.crmEntityFormView, .entitylist, .modal-content, .popover-content {
    background-color: #FFFFFF;
    color: #53605F;
    border: 1px solid #f2f2f2;
}

.msos-selection-container, .msos-container, .msos-caret-container, .msos-action-buttons:hover ,.form-control, .msos-input,.field-label,.form-control,.info {
    color: #53605F !important;
    background: #FFFFFF !important;
}
.tab-title {
  color: #53605F;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  display: none;
} 
.fa-info-circle:before {
    content: "\f05a"; 
    /* content: "\f05a"; */
}

.fa-edit{
 font: normal normal normal 14px / 1 FontAwesome;
}
.fa-info-circle{
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
    color: #fff;
    padding-bottom: 0px;
}
/* ===== FORM INPUTS ===== */
.entityform input[type="text"],
.entityform input[type="email"],
.entityform input[type="tel"],
.entityform input[type="number"],
.entityform select,
.entityform textarea {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 10px;
    width: 100%;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s ease-in-out;
    color: #53605F !important;
}
.entityform input:focus,
.entityform select:focus,
.entityform textarea:focus {
    border-color: #EA5E29;
    outline: none;
}

/* ===== BUTTONS ===== */
.btn,
.button {
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease-in-out;
}
.btn-primary {
    background-color: #EA5E29 !important;
    border-color: #EA5E29 !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: #c94d20 !important;
    border-color: #c94d20 !important;
}
.btn-secondary {
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
}
.btn-secondary:hover {
    background-color: #eee !important;
}

/* ===== SUBGRID CONTAINER ===== */
.subgrid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
  background-color: #f9f9f9; /* optional background */
  border: 1px solid #53605F;
  border-radius: 8px;
}

/* Grid header */
.subgrid-container .subgrid-header {
  font-size: 18px;
  font-weight: bold;
  color: #53605F;
  margin-bottom: 12px;
  border-bottom: 2px solid #53605F;
  padding-bottom: 6px;
}

/* Grid items */
.subgrid-container .subgrid-item {
  background: #ffffff;
  border: 1px solid #53605F;
  border-radius: 6px;
  padding: 12px;
  color: #333;
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
.subgrid-container .subgrid-item:hover {
  background: #f0f3f3;
  border-color: #53605F;
  box-shadow: 0 2px 6px rgba(83, 96, 95, 0.3);
}

/* Style the whole fieldset box */
.crmEntityFormView fieldset {
    margin: 0 0 20px 0;
    padding: 15px;
    border: 1px solid #53605F; /* dark gray/green border */
    border-radius: 8px;
    background-color: #fff; /* white background for clean look */
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* subtle shadow */
}

/* Style the fieldset label/header */
.crmEntityFormView fieldset::before { 
    content: attr(aria-label);
    display: block;
    font-size: 15px;
    font-weight: bold;
    background: #EA5E29;  /* brand orange header */
    padding: 10px 14px;
    margin: -15px -15px 15px -15px; /* header spans full width */
    border-radius: 8px 8px 0 0;
    color: #fff !important; /* white text on orange */
    letter-spacing: 0.5px;
}
#content {
    overflow: visible !important; /* bypass overflow:hidden */
    padding: 20px 0 !important;   /* adjust padding as needed */
}
.membershipbtnDiv{
    margin-top: 0px;
    padding-top: 10px;
    text-align: right;
}