@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --rc-uv-color-primary:   #1976d2;
  --rc-uv-color-secondary: #6d4c41;
  --rc-uv-color-success:   #28a745;
  --rc-uv-color-warning:   #f57c00;
  --rc-uv-color-error:     #c62828;
  --rc-uv-color-info:      #607d8b;
  --rc-uv-color-dark:      #444444;
  --rc-uv-color-light:     #aaaaaa;

  --rc-uv-color-lt-primary:   #1976d222;
  --rc-uv-color-lt-secondary: #6d4c4122;
  --rc-uv-color-lt-success:   #28a74522;
  --rc-uv-color-lt-warning:   #f57c0022;
  --rc-uv-color-lt-error:     #c6282822;
  --rc-uv-color-lt-info:      #607d8b22;
  --rc-uv-color-lt-dark:      #44444422;
  --rc-uv-color-lt-light:     #aaaaaa22;
}

.rc_sm_color_primary    { color: var(--rc-uv-color-primary) !important; }
.rc_sm_color_secondary  { color: var(--rc-uv-color-secondary) !important; }
.rc_sm_color_success    { color: var(--rc-uv-color-success) !important; }
.rc_sm_color_warning    { color: var(--rc-uv-color-warning) !important; }
.rc_sm_color_error      { color: var(--rc-uv-color-error) !important; }
.rc_sm_color_info       { color: var(--rc-uv-color-info) !important; }
.rc_sm_color_dark       { color: var(--rc-uv-color-dark) !important; }
.rc_sm_color_light      { color: var(--rc-uv-color-light) !important; }

.rc_sm_bg_primary    { background-color: var(--rc-uv-color-primary) !important; }
.rc_sm_bg_secondary  { background-color: var(--rc-uv-color-secondary) !important; }
.rc_sm_bg_success    { background-color: var(--rc-uv-color-success) !important; }
.rc_sm_bg_warning    { background-color: var(--rc-uv-color-warning) !important; }
.rc_sm_bg_error      { background-color: var(--rc-uv-color-error) !important; }
.rc_sm_bg_info       { background-color: var(--rc-uv-color-info) !important; }
.rc_sm_bg_dark       { background-color: var(--rc-uv-color-dark) !important; }
.rc_sm_bg_light      { background-color: var(--rc-uv-color-light) !important; }

.rc_sm_bg_lt_primary    { background-color: var(--rc-uv-color-lt-primary) !important; }
.rc_sm_bg_lt_secondary  { background-color: var(--rc-uv-color-lt-secondary) !important; }
.rc_sm_bg_lt_success    { background-color: var(--rc-uv-color-lt-success) !important; }
.rc_sm_bg_lt_warning    { background-color: var(--rc-uv-color-lt-warning) !important; }
.rc_sm_bg_lt_error      { background-color: var(--rc-uv-color-lt-error) !important; }
.rc_sm_bg_lt_info       { background-color: var(--rc-uv-color-lt-info) !important; }
.rc_sm_bg_lt_dark       { background-color: var(--rc-uv-color-lt-dark) !important; }
.rc_sm_bg_lt_light      { background-color: var(--rc-uv-color-lt-light) !important; }

.rc_sm_bold { font-weight: 600; }
.rc_sm_text_decoration_none { text-decoration: none; }

#wpbody,
#wpbody p {
    font-family: 'Poppins', 'Century Gothic', 'CenturyGothic', sans-serif !important;
    font-size: 16px;
    line-height: 26px;
    color: var(--rc-uv-color-dark);
}

#wpbody td {
    font-size: 14px;
}

#wpbody h1 {
    font-size: 36px;
    font-weight: 600;
}

#wpbody h2 {
    font-size: 30px;
    font-weight: 600;
}

#wpbody h3 {
    font-size: 24px;
    font-weight: 600;
}

#wpbody a {
    color: var(--rc-uv-color-primary);
}
#wpbody a:hover {
    filter: brightness(1.2);
}
#wpbody a:active {
    filter: brightness(0.8);
}

a,
button,
input,
textarea,
select {
    outline: none;
    box-shadow: none;
}

a:focus, 
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}


.rc_sm_modal_form input[type="text"], 
.rc_sm_modal_form textarea:not(.rc_sm_textarea_code), 
.rc_sm_wrap input[type="text"], 
.rc_sm_wrap input[type="url"], 
.rc_sm_wrap input[type="number"], 
.rc_sm_wrap input[type="password"], 
.rc_sm_wrap select,
.rc_sm_box_form textarea:not(.rc_sm_textarea_code), 
.rc_sm_box_form input[type="text"], 
.rc_sm_box_form input[type="url"], 
.rc_sm_box_form input[type="number"], 
.rc_sm_box_form input[type="password"], 
.rc_sm_box_form select {
    border-radius: 0;
    border: 1px solid #ccc;
    margin-right: 20px;
    font-size: 16px !important;
    color: #666;
    padding: 6px 10px;
}
.rc_sm_box_form textarea, 
.rc_sm_box_form input[type="text"], 
.rc_sm_box_form input[type="url"], 
.rc_sm_box_form input[type="number"], 
.rc_sm_box_form input[type="password"], 
.rc_sm_box_form select { 
    width: 100% ;  
}
.rc_sm_modal_form h4 {
    font-size: 20px;
}
input[type="url"] { width: 40%; }

input::placeholder,
textarea::placeholder {
    color: #ccc;
}

#wpbody .rc_sm_box_wrap {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    margin-top: 50px;
}

.rc_sm_box_wrap_height {
    height: 50px;
}

#wpbody .rc_sm_width_50 {
    width: 50%;
}

#wpbody .rc_sm_position_center {
    margin-left: auto;
    margin-right: auto;
}

#wpbody .rc_sm_box_wrap h2, #wpbody .rc_sm_box_wrap h3 {
    margin-top: 50px;
}
#wpbody .rc_sm_box_wrap h2:first-child, #wpbody .rc_sm_box_wrap h3:first-child {
    margin-top: 0;
}

#wpbody {
    font-family: 'Poppins', 'Century Gothic', 'CenturyGothic', sans-serif !important;
    font-size: 16px;
    line-height: 26px;
    color: var(--rc-uv-color-dark);
}

td, th {
    font-size: 16px;
    padding: 10px 10px;
}

.rc_sm_box_left_right { 
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
}
.rc_box_right {
    display: flex;
    align-items: flex-end;
}
.rc_sm_filters {
    gap: 12px;
}

.rc_sm_filters label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    margin-left: 30px;
}
.rc_sm_filters input[type="text"], .rc_sm_filters input[type="number"], .rc_sm_filters select {
    font-size: 13px !important;
    font-weight: 500;
    padding-right: 30px;
    margin-right: 0px;
}
.rc_sm_title_filter { padding-bottom: 30px; }
.rc_sm_title_filter h3 { padding-top: 30px; margin-bottom: 0; }

.rc_sm_badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    margin-right: 8px;
    line-height: 1.6;
    background-color: var(--rc-uv-color-primary);
}

.rc_sm_label, .rc_sm_button, .rc_sm_button_disabled {
    display: inline-block;
    font-size: 12px;
    padding: 4px 16px;
    font-weight: 500;
    color: #fff !important;
    line-height: 2;
    border: 0;
    text-decoration: none;
    background-color: var(--rc-uv-color-primary);
}
.rc_sm_button, .rc_sm_button_disabled {
    border-radius: 100px;
    cursor: pointer;
}
.rc_sm_button:hover {
    filter: brightness(1.2);
}
.rc_sm_button:active {
    filter: brightness(0.8);
}

.rc_sm_label.rc_sm_size_lg,
.rc_sm_button.rc_sm_size_lg,
.rc_sm_button_disabled.rc_sm_size_lg { 
    font-size: 16px;
    padding: 7px 22px;
}
.rc_sm_button .dashicons {
    line-height: 1.4;
}

.rc_sm_button_disabled {
    cursor: default;
    opacity: 0.5;
}

#wpbody .notice:not(.rc_sm_notice .notice) {
    display: none;
}

.rc_sm_notice {
    margin-top: 20px;
}

[class*="rc_sm_notice_"] {
    padding: 10px 20px;
    border-radius: 0;
}

.rc_sm_notice .rc_sm_notice_success {
    background: #d2efd9;
    border-left: 4px solid var(--rc-uv-color-success);
}

.rc_sm_notice .rc_sm_notice_error {
    background: #f8d7da;
    border-left: 4px solid #dc3232;
}

.rc_sm_notice .rc_sm_notice_warning {
    background: #ffe4cc;
    border-left: 4px solid var(--rc-uv-color-warning);
}

.rc_sm_table_order {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 14px;
}

.rc_sm_table_order th,
.rc_sm_table_order td {
    border: 1px solid #eee;
    padding: 10px;
    vertical-align: top;
}
.rc_sm_table_order th { white-space: nowrap; }

.rc_sm_table_order tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.rc_sm_table_order tbody tr:hover {
    background-color: #eaf4ff;
}

.rc_sm_table_order tbody tr.clicked {
    background-color: #d0eaff;
    transition: background-color 0.3s;
}

.rc_sm_table_order th {
    background: #fafafa;
    font-weight: normal !important;
    cursor: pointer;
}
.rc_sm_table_order th.rc_sm_not_shortable {
    cursor: text !important;
}

th.rc_sm_sorted_asc,
th.rc_sm_sorted_desc {
    background-color: #e5f3ff;
    font-weight: bold !important;
    color: #000;
}

.rc_sm_sort_icon::after {
    content: "⇅";
    color: #999;
}

th.rc_sm_sorted_asc .rc_sm_sort_icon::after {
    content: "↑";
    color: #000;
}

th.rc_sm_sorted_desc .rc_sm_sort_icon::after {
    content: "↓";
    color: #000;
}

.rc_sm_sortable {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0073aa;
}

.rc_sm_sort_icon {
    font-size: 12px;
    color: #999;
}

.rc_sm_sort_icon::after {
    content: "⇅";
    color: #999;
    margin-left: 4px;
}

th.rc_sm_sorted_asc .rc_sm_sort_icon::after {
    content: "↑";
    color: #000;
    font-weight: bold;
}

th.rc_sm_sorted_desc .rc_sm_sort_icon::after {
    content: "↓";
    color: #000;
    font-weight: bold;
}

.rc_sm_pagination {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}

.rc_sm_pagination a {
    padding: 6px 10px;
    background: #f9f9f9;
    color: var(--rc-uv-color-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.rc_sm_pagination a:hover {
    background: #e1e1e1;
}

.rc_sm_pagination a.active {
    background: #0073aa !important;
    color: white !important;
    font-weight: 600;
}

.rc_sm_tooltip_copy_action {
    background: var(--rc-uv-color-dark);
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
    margin-right: 5px;
    z-index: 1000;
    white-space: nowrap;
    pointer-events: none;
}

.rc_sm_tooltip_copy { text-decoration: none !important; }
.rc_sm_tooltip_copy .dashicons::before { color: var(--rc-uv-color-dark) !important; }

.rc_sm_button_loader_ico {
    font-family: "Dashicons";
    margin-left: 8px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 1;
    transform-origin: 50% 50%;
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--rc-uv-color-primary);
}

.rc_sm_loader_spin {
  animation: rc_sm_loader_spin 1s linear infinite;
}

@keyframes rc_sm_loader_spin {
  to {
    transform: rotate(360deg);
  }
}

span.rc_sm_loader_size_lg {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.rc_sm_loader_active,
.rc_sm_button_loader:disabled {
    background: #e0e0e0 !important;
    color: #aaa !important;
    pointer-events: none;
    cursor: not-allowed;
}

.rc_sm_loader_show, 
.rc_sm_loader_tab,
.rc_sm_loader_table {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.rc_sm_loader_show::before,
.rc_sm_loader_tab::before,
.rc_sm_loader_table::before {
    font-family: "Dashicons";
    content: "\f463"; 
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: var(--rc-uv-color-primary);
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    transform-origin: 50% 50%;
    animation: rc_sm_loader_spin 1s linear infinite;
}

.rc_sm_loader_tab,
.rc_sm_loader_table {
    display: block;
}

.rc_sm_loader_table {
    margin-top: 30px;
}

.rc_sm_loader_modal {
    text-align: center;
    padding: 40px 0;
}

.rc_sm_loader_modal::before {
    font-family: "Dashicons";
    content: "\f463"; 
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: var(--rc-uv-color-primary);
    display: inline-block;
    vertical-align: middle;
  line-height: 1;
  transform-origin: 50% 50%;
  animation: rc_sm_loader_spin 1s linear infinite;
}


/* ====== SOLO NELLA BOX RESPONSE ====== */
.rc_sm_ps_box_response .rc_sm_ps_results_top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 280px;
}

.rc_sm_ps_box_response .rc_sm_ps_scores_header,
.rc_sm_ps_box_response .rc_sm_ps_screenshot {
    width: 50%;
    box-sizing: border-box;
    text-align: center;
}

.rc_sm_ps_box_response .rc_sm_ps_screenshot img {
    display: block;
    margin: 0 auto;
    border: 1px solid #ccc;
}
.rc_sm_ps_box_response.rc_sm_ps_mobile .rc_sm_ps_screenshot img {
    width: 140px;
}

.rc_sm_ps_box_response.rc_sm_ps_desktop .rc_sm_ps_screenshot img {
    width: 300px;
}

.rc_sm_ps_box_response .rc_sm_ps_gauge_svg_wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.rc_sm_ps_box_response .rc_sm_ps_gauge {
    width: 100%;
    height: auto;
    border-radius: 100%;
}

.rc_sm_ps_box_response .rc_sm_ps_gauge_base {
    fill: none;
    stroke: #eee;
}

.rc_sm_ps_box_response .rc_sm_ps_gauge_arc {
    fill: none;
    stroke-linecap: round;
    transform-origin: center;
    transition: stroke-dasharray 0.5s ease;
}

.rc_sm_ps_box_response .rc_sm_ps_gauge_pass .rc_sm_ps_gauge_arc { stroke: #0cce6b; }
.rc_sm_ps_box_response .rc_sm_ps_gauge_average .rc_sm_ps_gauge_arc { stroke: #ffa400; }
.rc_sm_ps_box_response .rc_sm_ps_gauge_fail .rc_sm_ps_gauge_arc { stroke: #ff4e42; }

.rc_sm_ps_box_response .rc_sm_ps_gauge_percentage {
    font-size: 34px;
    margin-top: -83px;
    font-weight: 500;
}

.rc_sm_ps_box_response .rc_sm_ps_color_pass    { color: #0cce6b; }
.rc_sm_ps_box_response .rc_sm_ps_color_average { color: #ffa400; }
.rc_sm_ps_box_response .rc_sm_ps_color_fail    { color: #ff4e42; }

.rc_sm_ps_box_response .rc_sm_ps_gauge_label_outer {
    text-align: center;
    font-size: 26px;
    color: #666;
    margin-top: 100px;
}

/* ====== METRICHE (sia request che response) ====== */
.rc_sm_ps_metrics_group {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.rc_sm_ps_metric {
    flex: 0 0 calc(50% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fff;
    padding: 15px 20px;
    border-left: 5px solid #0cce6b;
}

.rc_sm_ps_metric_title {
    font-size: 14px;
    margin-bottom: 0;
    display: block;
    font-weight: 600;
}

.rc_sm_ps_metric_value {
    font-size: 30px;
    margin-top: 20px;
    font-weight: 300;
}

.rc_sm_ps_metric_fail .rc_sm_ps_metric_value    { color: #ff4e42; }
.rc_sm_ps_metric_average .rc_sm_ps_metric_value { color: #ffa400; }
.rc_sm_ps_metric_pass .rc_sm_ps_metric_value    { color: #0cce6b; }

.rc_sm_ps_metric_fail    { border-left-color: #ff4e42; }
.rc_sm_ps_metric_average { border-left-color: #ffa400; }
.rc_sm_ps_metric_pass    { border-left-color: #0cce6b; }






.rc_sm_box_wrap_tab {
    width: 90%;
    text-align: center;
    margin-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    margin-left: auto;
    margin-right: auto;
}

.rc_sm_box_wrap_tab .rc_sm_tab_button,
.rc_sm_box_wrap_tab .rc_sm_tab_button_link {
    padding: 10px 30px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    cursor: pointer !important;
    color: var(--rc-uv-color-dark) !important;
}

.rc_sm_box_wrap_tab .dashicons {
    line-height: 1.3;
    margin-right: 10px;
    color: var(--rc-uv-color-dark);
}

.rc_sm_box_wrap_tab .rc_sm_tab_nav {
    display: inline-flex;
    justify-content: center;
}

.rc_sm_box_wrap_tab .rc_sm_tab_button:hover,
.rc_sm_box_wrap_tab .rc_sm_tab_button.active,
.rc_sm_box_wrap_tab .rc_sm_tab_button_link:hover {
    background: var(--rc-uv-color-lt-warning) !important;
    color: var(--rc-uv-color-warning) !important;
    border-bottom: 2px solid var(--rc-uv-color-warning);
}
.rc_sm_box_wrap_tab .rc_sm_tab_button:hover .dashicons,
.rc_sm_box_wrap_tab .rc_sm_tab_button.active .dashicons,
.rc_sm_box_wrap_tab .rc_sm_tab_button_link:hover .dashicons {
    color: var(--rc-uv-color-warning) !important;
}
.rc_sm_tab_content {
    display: none;
}

.rc_sm_tab_content.active {
    display: block;
}


#rc_sm_modal_confirm.rc_sm_modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9999; }
#rc_sm_modal_confirm.rc_sm_modal .rc_sm_modal_window { background:#fff; width:90%; max-width:500px; margin:10% auto; padding:24px; border-radius:8px; position:relative; }
#rc_sm_modal_confirm.rc_sm_modal .rc_sm_modal_body { font-size: 20px; line-height: 2; margin-bottom: 50px; margin-top: 30px; }
#rc_sm_modal_confirm.rc_sm_modal .rc_sm_modal_footer { display:flex; justify-content: space-between; border-top: 1px solid #c3c4c7; padding-top: 20px;}


#rc_sm_modal_record.rc_sm_modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9999; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_window { background:#fff; width:90%; max-width:40%; margin:10% auto; padding:24px; border-radius:8px; position:relative; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_title { margin-top: 0; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_content { font-size: 13px; margin-bottom: 40px; margin-top: 30px; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_content a { color: var(--rc-uv-color-primary); text-decoration: none; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_footer { display:flex; justify-content: flex-end; border-top: 1px solid #c3c4c7; padding-top: 20px;}
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_scroll { max-height: 500px; overflow-y: auto; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_scroll table { width: 100%; border-top: 0; }
#rc_sm_modal_record.rc_sm_modal .rc_sm_modal_scroll thead th { position: sticky; top: 0; background: #f9f9f9; z-index: 1; border-top: 1px solid #c3c4c7; border-bottom: 1px solid #c3c4c7; }


#rc_sm_modal_seo.rc_sm_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
#rc_sm_modal_seo.rc_sm_modal .rc_sm_modal_window {
    background: #fff;
    width: 90%;
    max-width: 40%;
    margin: 10% auto;
    padding: 24px;
    border-radius: 8px;
    position: relative;
}
#rc_sm_modal_seo.rc_sm_modal .rc_sm_modal_title {
    margin-top: 0;
}
#rc_sm_modal_seo.rc_sm_modal .rc_sm_modal_content {
    font-size: 13px;
    margin-bottom: 40px;
    margin-top: 30px;
}
#rc_sm_modal_seo.rc_sm_modal .rc_sm_modal_footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c3c4c7;
    padding-top: 20px;
}


#rc_sm_modal_help.rc_sm_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_window {
    background: #fff;
    width: 90%;
    max-width: 40%;
    max-height: 500px; /* ← Aggiungere */
    margin: 10% auto;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    overflow: hidden; /* ← Aggiungere */
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_title {
    font-size: 26px;
    margin-top: 0;
    border-bottom: 1px solid #c3c4c7;
    padding-bottom: 20px;
    color: var(--rc-uv-color-primary) !important;
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content {
    margin-bottom: 40px;
    margin-top: 30px;
    max-height: 320px; /* ← Aggiungere */
    overflow-y: auto; /* ← Aggiungere */
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content h2 {
    margin-top: 2em;
}

#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content h2:first-child {
    margin-top: 0;
}

#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content,
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content p,
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content li {
    font-size: 15px !important;
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content p:last-child { margin-bottom: 0;}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content li {
    margin-top: 15px !important;
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #c3c4c7;
    padding-top: 20px;
}
#rc_sm_modal_help.rc_sm_modal .rc_sm_modal_content .rc_sm_help_box_important {
    padding: 15px;
    background-color: var(--rc-uv-color-lt-warning) !important;
}

#rc_sm_modal_agency_url_history.rc_sm_modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9999; }
#rc_sm_modal_agency_url_history.rc_sm_modal .rc_sm_modal_window { background:#fff; width:90%; max-width:600px; max-height:600px; margin:10% auto; padding:24px; border-radius:8px; position:relative; overflow:hidden; }
#rc_sm_modal_agency_url_history.rc_sm_modal .rc_sm_modal_title { margin-top: 0; }
#rc_sm_modal_agency_url_history.rc_sm_modal .rc_sm_modal_content { font-size: 13px; margin-bottom: 40px; margin-top: 10px; max-height: 400px; overflow-y: auto; }
#rc_sm_modal_agency_url_history.rc_sm_modal .rc_sm_modal_footer { display:flex; justify-content: flex-end; border-top: 1px solid #c3c4c7; padding-top: 20px; }



.rc_sm_switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.rc_sm_switch_input, .rc_sm_switch_form {
  display: none !important;
}

.rc_sm_switch_button {
  width: 50px;
  height: 26px;
  background-color: #ddd;
  border-radius: 13px;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s;
}

.rc_sm_switch_button::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.rc_sm_switch_input:checked + .rc_sm_switch_button,
.rc_sm_switch_form[value="on"] + .rc_sm_switch_button {
  background-color: var(--rc-uv-color-success);
}

.rc_sm_switch_input:checked + .rc_sm_switch_button::after,
.rc_sm_switch_form[value="on"] + .rc_sm_switch_button::after {
  transform: translateX(24px);
}

.rc_sm_box_legend {
  margin: 30px auto 0 auto;
  gap: 20px;
  display: flex;
}

.rc_sm_tooltip_item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.rc_sm_tooltip_info {
  visibility: hidden;
  opacity: 0;
  position: absolute !important;
  bottom: 120%;
  left: 0;
  transform: none;
  background-color: #000;
  padding: 8px 12px;
  border-radius: 5px;
  white-space: normal;
  z-index: 999;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 300px;
  max-width: 400px;
}
.rc_sm_tooltip_info p { color: #fff !important; font-size: 12px !important; }
.rc_sm_tooltip_item:hover .rc_sm_tooltip_info {
  visibility: visible;
  opacity: 1;
}
.rc_sm_tooltip_info p:first-child {
    margin-top: 0;
}
.rc_sm_tooltip_info p:last-child {
    margin-bottom: 0;
}


.rc_sm_table_row_hide { background: #fff9c4 !important; transition: background-color 0.5s ease; }


.rc_sm_notice_fly {
    position: fixed;
    top: calc(32px + 20px);
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    op: calc(32px + 20px); 
}

.rc_sm_notice_fly_container {
    width: 400px;
    display: flex;
    overflow: hidden;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-10px);
    animation: rc_sm_notice_fly_active 0.3s ease-out forwards;
    pointer-events: auto;
    font-family: 'Poppins', sans-serif;
    padding: 0;
}

.rc_sm_notice_fly_icon {
    width: 50px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}

.rc_sm_notice_fly_message {
    flex: 1;
    padding: 10px 16px;
    background: #fff;
    color: #333;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.rc_sm_notice_fly_success .rc_sm_notice_fly_icon { background-color: var(--rc-uv-color-success); }
.rc_sm_notice_fly_error   .rc_sm_notice_fly_icon { background-color: var(--rc-uv-color-error); }
.rc_sm_notice_fly_warning .rc_sm_notice_fly_icon { background-color: var(--rc-uv-color-warning); }
.rc_sm_notice_fly_info    .rc_sm_notice_fly_icon { background-color: var(--rc-uv-color-info); }

@keyframes rc_sm_notice_fly_active {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 782px) {
    .rc_sm_notice_fly {
        top: calc(46px + 20px); /* Barra WP più alta su mobile */
    }
}

.rc_sm_table_column_hide { visibility: hidden; width:0%; padding: 0 !important; }

.rc_sm_width_1  { width: 8.333333%; }
.rc_sm_width_2  { width: 16.666667%; }
.rc_sm_width_3  { width: 25%; }
.rc_sm_width_4  { width: 33.333333%; }
.rc_sm_width_5  { width: 41.666667%; }
.rc_sm_width_6  { width: 50%; }
.rc_sm_width_7  { width: 58.333333%; }
.rc_sm_width_8  { width: 66.666667%; }
.rc_sm_width_9  { width: 75%; }
.rc_sm_width_10 { width: 83.333333%; }
.rc_sm_width_11 { width: 91.666667%; }
.rc_sm_width_12 { width: 100%; }

.rc_sm_width_th_id { width: 80px; }
.rc_sm_width_th_lang { width: 15px; }
 
/* Contenitore flex (ex .row) */
.rc_sm_bs_row {
  display: flex;
  flex-wrap: wrap;
  /**
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  **/
}


.rc_sm_box_wrap {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
/* Colonna flessibile automatica (ex .col) */
.rc_sm_bs_col {
  flex: 1 0 0%;
  max-width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Colonne fisse (ex .col-1 ... .col-12) */
.rc_sm_bs_col_1  { flex: 0 0 8.333333%;   max-width: 8.333333%;    }
.rc_sm_bs_col_2  { flex: 0 0 16.666667%;  max-width: 16.666667%;   }
.rc_sm_bs_col_3  { flex: 0 0 25%;         max-width: 25%;          }
.rc_sm_bs_col_4  { flex: 0 0 33.333333%;  max-width: 33.333333%;   }
.rc_sm_bs_col_5  { flex: 0 0 41.666667%;  max-width: 41.666667%;   }
.rc_sm_bs_col_6  { flex: 0 0 50%;         max-width: 50%;          }
.rc_sm_bs_col_7  { flex: 0 0 58.333333%;  max-width: 58.333333%;   }
.rc_sm_bs_col_8  { flex: 0 0 66.666667%;  max-width: 66.666667%;   }
.rc_sm_bs_col_9  { flex: 0 0 75%;         max-width: 75%;          }
.rc_sm_bs_col_10 { flex: 0 0 83.333333%;  max-width: 83.333333%;   }
.rc_sm_bs_col_11 { flex: 0 0 91.666667%;  max-width: 91.666667%;   }
.rc_sm_bs_col_12 { flex: 0 0 100%;        max-width: 100%;         }

.rc_sm_bs_col_w_20  { flex: 0 0 20%%;  max-width: 20%; }

/**.rc_sm_bs_col_align { display: flow; }**/
.rc_sm_bs_col_align { display: contents; }
.rc_sm_bs_col_align_right { margin-left: auto; text-align: right;}
.rc_sm_bs_col_align_right.rc_sm_filters { display: flex; align-items: flex-end;}


#rc_sm_table_order_wrapper {
    position: relative;
}

.rc_sm_table_container {
    position: relative;
}
.rc_sm_first_container .rc_sm_box_wrap {
    margin-top: 0 !important;
}
.rc_sm_margin_top_0 {
    margin-top: 0 !important;
}

.rc_sm_table_loading_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999;
    display: flex;
    justify-content: center;
    pointer-events: all;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    border-radius: 12px;
}


.rc_sm_table_hightlight_cross td.hover,
.rc_sm_table_hightlight_cross th.hover,
.rc_sm_table_hightlight_cross tr.hover td {
    background-color: #fff9c4 !important; /* giallo chiaro */
}

/* Evidenzia la cella esatta sotto il cursore */
.rc_sm_table_hightlight_cross td.hover.active,
.rc_sm_table_hightlight_cross th.hover.active {
    background-color: #ffe082 !important; /* giallo più intenso */
}


.rc_sm_table_statistic tr td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.rc_sm_table_statistic .rc_sm_row_total {
    background-color: #fff; /* sfondo leggero */
    font-weight: bold;
}

.rc_sm_table_statistic .rc_sm_row_total td {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 2px solid var(--rc-uv-color-dark);
}

.rc_sm_table_statistic .rc_sm_col_total {
    padding-left: 20px;
    border-left: 2px solid var(--rc-uv-color-dark);
}
.rc_sm_table_spacer_before { height: 50px; }

.woocommerce-Price-currencySymbol { padding-left: 3px; }


#adminmenu li a[href*="rc_sm_pg_woocommerce_statistics_year"] {
    display: none !important;
}
#adminmenu li a[href*="rc_sm_site_care"] .emoji {
    animation: rc_sm_blink_star 1s infinite;
}

@keyframes rc_sm_blink_star {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(2) drop-shadow(0 0 5px gold); }
}
.rc_sm_modal_form {
    font-size: 16px;
}

.rc_sm_modal_form label {
    display: block;
    font-weight: 500;
    padding-top: 25px;
    padding-bottom: 10px;
}

.rc_sm_modal_form input[type="text"], .rc_sm_modal_form textarea {
    width: 100%;
}


.rc_sm_notification_text {
    padding: 20px; 
    background: #fff3cd; 
    border: 1px solid #ffeaa7; 
    border-radius: 5px;
    color: #856404;
}

.rc_sm_box_form h3 { margin-bottom: 50px; }
.rc_sm_box_form .rc_sm_form_divider { margin-top: 30px; }
.rc_sm_box_form .rc_sm_form_divider_submit { margin-top: 50px; }
.rc_sm_box_form label { padding-bottom: 5px; }

.rc_sm_form_divider {
    margin-top: 30px;
    border-top: 1px solid var(--rc-uv-color-light);
    padding-top: 40px;
}
.rc_sm_form_spacer {
    margin-top:20px;
}
.rc_sm_wp_rocket_rules_form .rc_sm_hours_group label { 
    width: 7.8%;
    display: inline-block; 
}

.rc_sm_wp_rocket_rules_form .rc_sm_quick_types_group { margin-top: 40px; }
.rc_sm_wp_rocket_rules_form .rc_sm_quick_types_group label { padding-right: 20px; }
.rc_sm_settings_user_permissions_form .rc_sm_roles_group { margin-bottom: 30px; }
.rc_sm_settings_user_permissions_form .rc_sm_roles_group label { padding-right: 40px; }
.rc_sm_form h4 { margin-top: 0; }

.rc_sm_wp_rocket_rules_list { margin: 0; }
.rc_sm_wp_rocket_rules_list li {
    margin-top: 20px;
    padding: 10px;
}
.rc_sm_wp_rocket_rules_list li.rc_sm_active {
    background: #fff9c4;
}
.rc_sm_wp_rocket_rules_list li a {
    text-decoration: none;
}

.rc_box_wrap_height { margin-top: 30px; }


.rc_sm_tab_agency_content h4 { font-size: 20px; }
.rc_sm_tab_agency_content p { color: #888 !important; }
.rc_sm_tab_agency_content ul.rc_sm_ul_disc { list-style-type: disc; padding-left: 30px; }
.rc_sm_tab_agency_content ul.rc_sm_ul_numeber { padding-left: 30px; }
.rc_sm_tab_agency_content li { margin-top: 40px; }
.rc_sm_tab_agency_content img.rc_sm_page_speed { width: 400px; }
.rc_sm_tab_agency_content .rc_sm_call { margin-top: 30px; padding: 20px; padding-top: 30px;text-align: center; border-radius: 20px; }
.rc_sm_tab_agency_content .rc_sm_call h3, .rc_sm_tab_agency_content .rc_sm_call p, .rc_sm_tab_agency_content .rc_sm_call a { color: #fff !important; }

.rc_sm_box_information {
    padding: 20px;
}








.rc_sm_sub_tab_wrap { margin-bottom: 30px; }
.rc_sm_sub_tab_wrap .rc_sm_tab_nav { padding-bottom: 20px !important; }
.rc_sm_sub_tab_wrap > div { display: flex; }
.rc_sm_sub_tab_btn { font-size: 15px; line-height: 22px; padding: 10px 30px; text-decoration: none; border-bottom: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
.rc_sm_sub_tab_btn:hover { background: var(--rc-uv-color-lt-primary); border-bottom: 2px solid var(--rc-uv-color-primary); }
.rc_sm_sub_tab_btn.active { background: var(--rc-uv-color-lt-primary); border-bottom: 2px solid var(--rc-uv-color-primary); }
.rc_sm_sub_tab_btn.active, .rc_sm_sub_tab_btn.active:hover { color: var(--rc-uv-color-primary); }


/* Textarea code style */
.rc_sm_textarea_code {
    width: 100% !important;
    font-family: monospace !important;
    font-size: 12px !important;
    background: #f5f5f5 !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.rc_sm_textarea_code.rc_sm_custom {
    background: #000 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* ─── PageSpeed ────────────────────────────────────────────────────────────── */

.rc_sm_pagespeed_score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-weight: bold;
    background: #ffffff;
    cursor: default;
}

.rc_sm_modal_pagespeed.rc_sm_pagespeed_score {
    cursor: pointer;
}

/* ─── PageSpeed Modal ──────────────────────────────────────────────────────── */

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    justify-content: center;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_tab {
    padding: 6px 18px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 20px;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_tab_active {
    border-bottom-color: var(--rc-uv-color-primary);
    color: var(--rc-uv-color-primary);
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_scores {
    display: flex;
    gap: 24px;
    justify-content: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-weight: normal;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_score_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_score_label {
    text-align: center;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_vitals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    padding: 0 8px;
    margin-left: 25%;
    margin-right: 15%;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_vital_item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_vital_label {
    margin: 0;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_vital_value {
    margin-top: 10px;
}

#rc_sm_modal_record.rc_sm_modal .rc_sm_ps_history_title {
    margin-top: 24px;
}




/** MENU SX WP **/
#toplevel_page_rc_sm_dashboard .wp-menu-image::before {
    content: "" !important;
    background-color: #e74c3c !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 12px auto 0 !important;
    color: transparent !important;
    font-family: inherit !important;
    padding: 0 !important;
}