.panel-emails .panel-actions-container{
 display:none !important;
}

img.logo{
 height:fit-content !important
}

.content{max-width: 95% !important;}

.field[data-name="cGenerateconditions"] {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 8px 8px !important; /* spacing between rows and columns */
}
/* Mobile override */
@media (max-width: 768px) {
  .field[data-name="cGenerateconditions"] {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* Target only the Documents panel + button */
button[data-panel="documents"][data-action="createRelated"] {
    background-color: #28a745 !important; /* Bootstrap success green */
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    /*padding: 8px 14px !important;*/
    /*font-size: 14px !important;*/
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important; /* space between plus icon and text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease-in-out !important;
    margin-top: 1px !important;

}

/* Hover effect to make it pop more */
button[data-panel="documents"][data-action="createRelated"]:hover {
    background-color: #218838 !important; /* darker green */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* Add text next to the plus sign */
button[data-panel="documents"][data-action="createRelated"]::after {
    content: " Upload Document";
}
/* Hide "Full Form" button only in Document quick-create modal */
.modal[data-scope="Document"] .btn-full-form {
    display: none !important;
}


/* Hide Country in Address fields*/
input.form-control[data-name="addressCountry"] {
  display: none !important;
  visibility:hidden !important;
}

/* Hide ESPO Footer*/
.credit.small{
  display: none !important;
}

body[data-id="6832588c61d2dc9cf"] .view-mode-switcher-buttons-group{
    display: none !important;
}

body[data-id="6832588c61d2dc9cf"] .panel .dropdown-toggle{
    display: none !important;
}

body[data-id="6832588c61d2dc9cf"] a[data-name="about"]{
   display:none !important
}

body[data-id="6832588c61d2dc9cf"] a[data-name="preferences"]{
   display:none !important
}

body[data-id="6832588c61d2dc9cf"] .notifications-badge-container{
   display:none !important
}

body[data-id="6832588c61d2dc9cf"] .global-search-container{
   display:none !important
}

body[data-id="6832588c61d2dc9cf"] button[data-name="fullForm"]{
   display:none !important
}

body[data-id="6832588c61d2dc9cf"] button[data-name="solicitorAddressCountry"]{
   display:none !important
}
body[data-id="6832588c61d2dc9cf"] .logo-container{
    width:100% !important;
    margin-top:10px !important;
}

body[data-id="6832588c61d2dc9cf"] img.logo{
     display: block !important; 
     margin-left: auto !important; 
     margin-right: auto !important;
}

body[data-id="espocrm"] .logo-container{
    width:100% !important;
    margin-top:10px !important;
}

body[data-id="espocrm"] img.logo{
     display: block !important; 
     margin-left: auto !important; 
     margin-right: auto !important;
}

body[data-id="6832588c61d2dc9cf"] #id .panel-heading::after {
    content: "Broker Portal";       /* text to display */
    display: block;                 /* behaves like a block element */
    font-size: 1.5rem;             /* small, h6-ish size */
    font-weight: 600;               /* semi-bold */
    color: #003366;                 /* same blue as welcome email header */
    margin-top: 8px;                /* spacing below logo */
    text-align: center;             /* center under the logo */
}

/* Hide Unlink/View Dropdown */
body[data-id="6832588c61d2dc9cf"] button.btn.btn-link.btn-sm.dropdown-toggle{
    display: none !important;
}