
/* General layout container */
.lepave-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    font-family: Calibri, Arial, sans-serif;
    font-size: 14px;
}

/* Layout fixes */
.form-row, .form-group, .field-block, .input-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

label {
    min-width: 220px;
    font-weight: bold;
}

input:not(#xlew_2_6_3):not(#xlew_2_7_3)[type="text"],
input[type="number"],
select,
textarea {
    max-width: 250px;
    width: 100%;
    padding: 6px;
    font-size: 13px;
}

textarea {
    max-width: 500px;
    height: 80px;
}

input[type="submit"],
button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 13px;
}

.results-box {
    margin-top: 25px;
    padding: 20px;
    border: 2px solid #76933C;
    background-color: #f5fff5;
    font-weight: bold;
}

/* Fix inline blocks overlapping */
input, select {
    box-sizing: border-box;
}

/* Tooltip and notes spacing */
.tooltip, .notes, .results, .form-section {
    margin-top: 20px;
}

/* Table-based fallbacks if used */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td {
    padding: 8px;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    label {
        min-width: 100%;
    }
}

/* Tab container background */
.ui-tabs-nav {
    background-color: #e6e6e6 !important;
    border: 1px solid #ccc !important;
    border-bottom: none !important;
    padding: 0 !important;
}

/* Inactive tabs */
.ui-tabs-nav li {
    background: #e6e6e6 !important;
    border: 1px solid #ccc !important;
    margin-right: 2px !important;
}

/* Active tab */
.ui-tabs-nav li.ui-tabs-active {
    background: #ffffff !important;
    border-bottom: 1px solid #fff !important;
}

/* Make tab text readable */
.ui-tabs-nav a {
    color: #000 !important;
    font-weight: bold;
}

/* Override tab default appearance */
.ui-tabs .ui-tabs-nav li {
    background: #a4c8e2 !important; /* light blue like original */
    border: 1px solid #809cb1 !important;
    font-weight: 400;
    color: #555 !important;
}

/* Hover state */
.ui-tabs .ui-tabs-nav li:hover {
    background: #b4daf6 !important;
    color: #212121 !important;
}

/* Active tab */
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    background: #dcebf4 !important;
    color: #212121 !important;
    
    
}


/* Fix clipped red disclaimer input fields */
input.ee129,
input.ee132 {
  min-height: 24px !important;
  height: auto !important;
  overflow: visible !important;
  display: inline-block !important;
  background: none !important;
  color: red !important;
  font-weight: bold;
  text-align: center;
  border: none !important;
  width: 100% !important;
  white-space: normal !important;
}

.message.warning.no-print {
  display: none !important;
}