.form-calculator {
    padding: 0;
    background: transparent;
}

.form-calculator .input-row {
    margin-bottom: 20px;
}

.form-calculator .label-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.form-calculator .label-input-row label {
    flex-basis: 30%;
    text-align: left;
    font-weight: 600;
    min-width: 120px;
    color: #333333;
}

.form-calculator .input-container {
    flex-basis: 65%;
    display: flex;
    justify-content: flex-end;
    min-width: 180px;
}

.form-calculator .input-group {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 175px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f39c12;
    background: #fff;
}

.form-calculator .input-addon {
    background: #fef6ea;
    padding: 7px 14px;
    color: #f39c12;
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
    border: none;
    flex-shrink: 0;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

.form-calculator .input-group input {
    border: none;
    padding: 7px 12px;
    font-size: 1rem;
    flex: 1;
    border-radius: 0;
    outline-offset: 0;
    color: #f39c12;
    background: #ffffff;
    font-weight: bold;
}

.form-calculator .input-group input:focus {
    outline: none;
    background-color: #fcf4e8;
    outline-offset: 0;
    border: none;
}

.form-calculator input[type=number]::-webkit-outer-spin-button,
.form-calculator input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-calculator input[type=number] {
    -moz-appearance: textfield;
}

.form-calculator .input-small {
    width: 100%;
    max-width: 220px;
}

.form-calculator input[type=range] {
    cursor: pointer;
    -webkit-appearance: none;
    height: 8px;
    background: #eddcc0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.form-calculator input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f39c12;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    margin-top: -7px;
    transition: background-color 0.3s ease;
}

.form-calculator input[type=range]::-webkit-slider-thumb:hover {
    background-color: #f39c12;
}

.form-calculator input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #f39c12;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.form-calculator #error {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-calculator table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

.form-calculator table thead {
    border-bottom-color: #f39c12;
}

.form-calculator th,
.form-calculator td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: right;
    font-size: 0.9rem;
}

.form-calculator th {
    background-color: #fef6ea;
    color: #333333;
    font-weight: 600;
    text-align: center;
    border-color: #f39c12 !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.form-calculator td:first-child,
.form-calculator th:first-child {
    text-align: center;
}

.form-calculator .wp-block-table.is-style-stripes td {
    border-color: #f39c12;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #fef6ea;
}

.form-calculator #summary {
    margin-top: 15px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333333;
    border: 1px solid #f39c12;
    border-left-width: 5px;
    padding: 15px;
    border-radius: 8px;
    background-color: #fef6ea;
}

.form-calculator #summary h3 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 3px solid #f9ecda;
}

.form-calculator #summary ul {
    list-style: disc;
    padding-left: 0;
    margin-left: 20px;
    margin-bottom: 0;
}

.form-calculator #summary li {
    margin-bottom: 6px;
    font-weight: 600;
}

.form-calculator details summary {
    cursor: pointer;
    padding: 12px 18px;
    background-color: #fef6ea;
    border-left: 4px solid #f39c12;
    color: #333333;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
    border: 1px solid #f39c12;
    border-left-width: 5px;
}

.form-calculator details summary:hover {
    background-color: #f9ecda;
}

.form-calculator details div {
    padding-top: 10px;
    max-height: 350px;
    overflow-y: auto;
}

.form-calculator #buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-start;
}

.form-calculator #buttons button {
    border: none;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-calculator #printScheduleBtn {
    background-color: #343a40;
}

.form-calculator #printScheduleBtn:hover {
    background-color: #23272b;
}

.form-calculator #downloadPdfBtn {
    background-color: #28a745;
}

.form-calculator #downloadPdfBtn:hover {
    background-color: #1e7e34;
}

.rank-math-block {
    margin: 20px 0;
}

.rank-math-block .calculator-faqs {
    background: transparent;
    padding: 0;
    color: #333333;
}

.rank-math-block .calculator-faqs .rank-math-list-item {
    border-bottom: 3px solid #eeeeee;
    margin-bottom: 10px;
    padding: 10px 0;
}

.rank-math-block .calculator-faqs .rank-math-list-item:last-child {
    border-bottom-width: 0;
}

.rank-math-block .calculator-faqs .rank-math-list-item .rank-math-question {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333333;
}

.input-addon .sel-input-addon, .custom-select .sel-custom {
    background: transparent;
    padding: 0;
    border: 0;
    font-weight: bold;
    color: #f39c12;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 15px;
    font-size: 16px;
    line-height: 1.2;
}

.input-addon .sel-input-addon:focus,
.input-addon .sel-input-addon:active,  .custom-select .sel-custom:focus,
.custom-select .sel-custom:active {
    outline: none;
    border: none;
}

.input-addon.sel-wrap, .custom-select {
    position: relative;
}

.input-addon.sel-wrap::after, .custom-select::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #f39c12;
}

.custom-select{
    min-width: 100px;
    display: inline-block;
}
.custom-select .sel-custom{
    border:1px solid #f39c12;
    border-radius: 4px;
    padding: 5px 20px 5px 5px;
}
.custom-select .sel-custom:focus, .custom-select .sel-custom:active{
    border:1px solid #f39c12;
}