.read-more-toggle {
    display: block;
    transition: all 0.3s ease-in-out;
}
.toggle-link {
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}
.read-more-toggle span,
.read-more-toggle a {
  display: inline;
}

#rmt-rules-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}

#rmt-rules-table thead th {
    background-color: #f0f0f0;
    color: #1d2327;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #ccd0d4;
    font-weight: 600;
    font-size: 14px;
}

#rmt-rules-table tbody tr {
    background: #fdfdfd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

#rmt-rules-table tbody tr:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

#rmt-rules-table td {
    padding: 10px;
    vertical-align: middle;
    border-top: 1px solid #e1e1e1;
}

#rmt-rules-table input[type="text"],
#rmt-rules-table input[type="number"],
#rmt-rules-table select {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

#rmt-rules-table input:focus,
#rmt-rules-table select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.rmt-remove-row {
    background-color: #d63638;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rmt-remove-row:hover {
    background-color: #b32d2e;
}

/* =========================================
   Fade Animation Support for Toggle
   ========================================= */
.read-more-toggle .short-text,
.read-more-toggle .full-text {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.read-more-toggle .short-text.fade-hidden,
.read-more-toggle .full-text.fade-hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.read-more-toggle .short-text.fade-visible,
.read-more-toggle .full-text.fade-visible {
    opacity: 1;
    visibility: visible;
    height: auto;
}
