[class*="restaler-wrapper"] .hidden {
  display: none !important;
}

body[class*="restaler"] {
  font-size: 15px;
  color: #1a1a1a;
  background: #F8FAFC;
}

[class*="restaler-wrapper"] .wrap {
  margin: 0;
}

[class*="restaler-wrapper"] p {
  font-size: 15px;
}

[class*="restaler-wrapper"] span.pro-tag {
  color: #6366F1;
  font-weight: 500;
}

[class*="restaler-wrapper"] li span.small {
  font-size: 14px;
}

[class*="restaler-wrapper"] li p {
  margin: 0;
}

[class*="restaler-wrapper"] a,
[class*="restaler-wrapper"] a:focus,
[class*="restaler-wrapper"] a:hover {
  color: #6366F1;
  box-shadow: none;
  outline: none;
  text-decoration: none;
}

body[class*="restaler"] #wpfooter {
  display: none;
}

body[class*="restaler"] .notice,
body[class*="restaler"] div.updated,
body[class*="restaler"] div.error {
  display: none;
}

.restaler-wrapper {
  margin: 80px 0 0 0;
  position: relative;
}

.restaler-wrapper.no-spacing {
  margin: 0;
  margin-right: 20px;
}

.restaler-wrapper.spacing {
  margin: 40px;
}

.restaler-wrapper .license-notice,
.restaler-wrapper .settings-notice {
  top: -52px;
  position: absolute;
  padding: 8px 12px;
  background: #fff;
  border-left: 2px solid #6366F1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.restaler-wrapper table .license-notice,
.restaler-wrapper table .settings-notice {
  background: #fff;
  color: #1a1a1a;
}

.restaler-notice {
  top: -52px;
  position: absolute;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-left: 2px solid #6366F1;
  display: inline-block;
  box-shadow: none;
  padding: 1px 12px;
}

.restaler-wrapper .license-notice.active,
.restaler-wrapper .settings-notice.active {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.restaler-wrapper h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.restaler-wrapper table {
  border: 0;
  box-shadow: none;
  width: 100%;
}

.restaler-wrapper .tablenav {
	height: 40px;
	margin: 12px 0;
	padding-top: 0;
}

.restaler-widgets {
  display: flex;
  gap: 24px;    
  margin: 20px 0 0 0;
  flex-wrap: wrap;
}

.restaler-widgets h3 {
  margin: 0;
}

.restaler-widget {
  width: 20%;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}

.restaler-wrapper table tr th,
.restaler-wrapper table tr td {
  font-size: 15px;
  color: #1a1a1a;
  padding: 10px 0;
  background: #fff;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #E2E8F0;
}

.restaler-wrapper table.widefat tr th {
  font-weight: 400;
  padding: 10px 0 10px 12px;
}

.restaler-wrapper table.widefat .sorting-indicator:before {
  top: -3px;
  color: #E5E5FF;
}

.restaler-wrapper .widefat tfoot th, .restaler-wrapper .widefat tfoot td {
  border-top: 1px solid #E2E8F0;
  border-bottom: 0;
}

.restaler-wrapper table.widefat .check-column label {
  position: absolute;
}

.restaler-wrapper table.widefat .check-column label:hover,
.restaler-wrapper table.widefat .check-column input:hover + label {
	background: none;
}

.restaler-wrapper table td {
  padding: 16px 0;
  font-weight: 400;
}

.restaler-wrapper th.sortable a,
.restaler-wrapper th.sorted a {
  padding: 0;
}

.restaler-wrapper th.sortable a:focus,
.restaler-wrapper th.sorted a:focus {
  box-shadow: none;
  outline: 0;
}

.restaler-wrapper table .product,
.restaler-wrapper table .license,
.restaler-wrapper table .expires {
  padding: 0 0 0 24px;
}

.restaler-wrapper table.widefat td {
  padding: 10px 0 10px 12px;
  vertical-align: middle;
}

.restaler-wrapper .status > span {
  padding: 4px 10px;
  background: #F8FAFC;
  border-radius: 6px;
  color: #aeafff;
  font-size: 12px;
  text-transform: capitalize;
  font-weight: 500;
}

.restaler-wrapper .status span.active {
  background: #10B981;
  color: #fff;
}


.restaler-wrapper table .action {
  width: 240px;
  text-align: center;
}

.restaler-wrapper table .license,
.restaler-wrapper table .license input {
  width: 480px;
  max-width: 480px;
}

.restaler-wrapper table .expires {
  width: 320px;
}

.restaler-wrapper table .status {
  text-align: center;
}

.restaler-wrapper .status-table th,
.restaler-wrapper .status-table td {
  font-size: 15px;
  padding: 12px 24px;
}

.restaler-wrapper .status-table th {
  width: 30%;
}

.restaler-wrapper .status-table table.widefat,
.restaler-wrapper > table {
  border: 0;
  box-shadow: none;
  margin: 20px 0 40px 0;
  border-spacing: 0;
}

.restaler-wrapper .status-table .striped > tbody > :nth-child(odd) {
  background-color: #f6f9fd;
}

[class*="restaler-wrapper"] .nav-tab-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.vertical {
  flex-direction: row;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.horizontal .nav-tabs {
  border-bottom: 1px solid #E2E8F0;
  margin: 0 0 28px 0;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.vertical .nav-tabs {
  border-right: 1px solid #E2E8F0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 240px;
  background: #fff;
}

[class*="restaler-wrapper"] .nav-tab {
  display: inline-block;
  padding: 8px 12px;
  margin-right: 5px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #E2E8F0;
  cursor: pointer;
  margin: 0;
  color: #1a1a1a;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.horizontal .nav-tab {
  border: 0;
  margin: 0 4px 0 0;
}

[class*="restaler-wrapper"] .nav-tab-content {
  display: none;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.vertical .nav-tab-content-wrapper {
  width: 100%;
  padding: 32px;
}

[class*="restaler-wrapper"] .nav-tab-content-wrapper > div {
  max-width: 680px;
}

[class*="restaler-wrapper"] .nav-tab-content-wrapper.full-width > div {
  max-width: 100%;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.vertical .nav-tabs .nav-tab.nav-tab-active {
  background: #fff;
  color: #1a1a1a;
  border-left: 2px solid #6366F1;
}

[class*="restaler-wrapper"] .nav-tab-wrapper.horizontal .nav-tabs .nav-tab.nav-tab-active {
  border-bottom: 1px solid #6366F1;
}

[class*="restaler-wrapper"] .nav-tab-content.active {
  display: block;
}

[class*="restaler-wrapper"] .field-group {
  background: #fff;
  margin: 0 0 28px 0;
  border: 1px solid #E2E8F0;
}

[class*="restaler-wrapper"] .field-wrap {
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

[class*="restaler-wrapper"] .field-wrap.field-richtext_editor,
[class*="restaler-wrapper"] .field-wrap.field-radio,
[class*="restaler-wrapper"] .field-wrap.field-textarea,
[class*="restaler-wrapper"] .field-wrap.field-color {
  align-items: flex-start;
}

[class*="restaler-wrapper"] .field-wrap.field-radio > label,
[class*="restaler-wrapper"] .field-wrap.field-media > label,
[class*="restaler-wrapper"] .field-wrap.field-select > label {
  cursor: default;
}

[class*="restaler-wrapper"] .field-title {
  padding: 12px 28px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

[class*="restaler-wrapper"] .field-content {
  padding: 28px 28px 12px 28px;
}

[class*="restaler-wrapper"] label:not(.screen-reader-text) {
  display: block;
  cursor: pointer;
  font-size: 14px;
  width: 240px;
  display: inline-block;
  position: relative;
}

[class*="restaler-wrapper"] input[type="text"],
[class*="restaler-wrapper"] input[type="password"],
[class*="restaler-wrapper"] input[type="color"],
[class*="restaler-wrapper"] input[type="date"],
[class*="restaler-wrapper"] input[type="datetime"],
[class*="restaler-wrapper"] input[type="datetime-local"],
[class*="restaler-wrapper"] input[type="email"],
[class*="restaler-wrapper"] input[type="month"],
[class*="restaler-wrapper"] input[type="number"],
[class*="restaler-wrapper"] input[type="search"],
[class*="restaler-wrapper"] input[type="tel"],
[class*="restaler-wrapper"] input[type="time"],
[class*="restaler-wrapper"] input[type="url"],
[class*="restaler-wrapper"] input[type="week"],
[class*="restaler-wrapper"] select,
[class*="restaler-wrapper"] textarea {
  font-size: 15px;
  color: #1a1a1a;
  border: 1px solid #E2E8F0;
  height: 40px;
  padding: 0 12px;
  width: 320px;
  max-width: 60%;
}

[class*="restaler-wrapper"] input.current-page {
  width: 80px;
}

[class*="restaler-wrapper"] textarea {
  min-height: 160px;
  min-width: 360px;
  padding: 12px;
}

[class*="restaler-wrapper"] input[type="text"]:focus,
[class*="restaler-wrapper"] input[type="password"]:focus,
[class*="restaler-wrapper"] input[type="color"]:focus,
[class*="restaler-wrapper"] input[type="date"]:focus,
[class*="restaler-wrapper"] input[type="datetime"]:focus,
[class*="restaler-wrapper"] input[type="datetime-local"]:focus,
[class*="restaler-wrapper"] input[type="email"]:focus,
[class*="restaler-wrapper"] input[type="month"]:focus,
[class*="restaler-wrapper"] input[type="number"]:focus,
[class*="restaler-wrapper"] input[type="search"]:focus,
[class*="restaler-wrapper"] input[type="tel"]:focus,
[class*="restaler-wrapper"] input[type="time"]:focus,
[class*="restaler-wrapper"] input[type="url"]:focus,
[class*="restaler-wrapper"] input[type="week"]:focus,
[class*="restaler-wrapper"] input[type="checkbox"]:focus,
[class*="restaler-wrapper"] input[type="radio"]:focus,
[class*="restaler-wrapper"] select:focus,
[class*="restaler-wrapper"] textarea:focus {
  border-color: #D1D1FF;
  box-shadow: 0 0 0 1px #D1D1FF;
  outline: 2px solid transparent;
}

[class*="restaler-wrapper"] input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #F1F3FD;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
}

[class*="restaler-wrapper"] .radio-group {
  display: flex;
  flex-direction: column;
}

[class*="restaler-wrapper"] .radio-group label {
  margin: 0 0 12px 0;
}

[class*="restaler-wrapper"] input[type="radio"]:checked {
  border-color: #6366F1;
  background-color: #6366F1;
}

[class*="restaler-wrapper"] input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

[class*="restaler-wrapper"] input[type="radio"]:hover {
  border-color: #6366F1;
}

[class*="restaler-wrapper"] input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #F1F3FD;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: none;
}

[class*="restaler-wrapper"] input[type="checkbox"]:hover {
  border-color: #6366F1;
}

[class*="restaler-wrapper"] input[type="checkbox"]:checked {
  background: #6366F1;
  border-color: #6366F1;
}

[class*="restaler-wrapper"] input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

[class*="restaler-wrapper"] label.switch-control {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

[class*="restaler-wrapper"] .switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

[class*="restaler-wrapper"] .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F1F3FD;
  transition: 0.3s;
  border-radius: 24px;
}

[class*="restaler-wrapper"] .slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[class*="restaler-wrapper"] .switch-control input:checked + .slider {
  background-color: #6366F1;
}

[class*="restaler-wrapper"] .switch-control input:checked + .slider::before {
  transform: translateX(20px);
}

[class*="restaler-wrapper"] .slider.round {
  border-radius: 24px;
}

[class*="restaler-wrapper"] .form-group {
  display: flex;
  gap: 12px;
}

[class*="restaler-wrapper"] .btn,
[class*="restaler-wrapper"] .button, 
[class*="restaler-wrapper"] .btn:hover,
[class*="restaler-wrapper"] .button:hover, 
[class*="restaler-wrapper"] .btn:focus,
[class*="restaler-wrapper"] .button:focus {
  background: #6366F1;
  box-shadow: none;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 20px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

[class*="restaler-wrapper"] .button-tertiary,
[class*="restaler-wrapper"] .button-tertiary:hover {
  background: transparent;
  color: #1a1a1a;
  border-bottom: 1px solid;
  border-radius: 0;
  padding: 0;
}

[class*="restaler-wrapper"] .tablenav .tablenav-pages .button,
[class*="restaler-wrapper"] .tablenav .tablenav-pages .button:hover,
[class*="restaler-wrapper"] .tablenav .tablenav-pages .tablenav-pages-navspan {
  min-width: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0 4px;
  font-size: 16px;
}

[class*="restaler-wrapper"] .btn.btn-red {
  background: #EF4444;
}

[class*="restaler-wrapper"] .btn.btn-green {
  background: #10B981;
}

[class*="restaler-wrapper"] span.wp-picker-input-wrap label {
  width: auto;
  display: inline-block;
}

[class*="restaler-wrapper"] .wp-picker-input-wrap .button.wp-picker-clear {
  font-size: 13px;
  color: #6366F1;
  border-color: #6366F1;
}

[class*="restaler-wrapper"] .wp-picker-container .wp-color-result.button {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 0 0 32px;
  font-size: 13px;
  color: #D1D1FF;
  border-color: #D1D1FF;
  box-shadow: none;
}

[class*="restaler-wrapper"] .wp-picker-container input[type="text"].wp-color-picker {
  width: 6rem;
  font-size: 14px;
  padding: 0 12px;
  height: 34px;
}

[class*="restaler-wrapper"] .wp-color-result-text {
  line-height: 32px;
  border-radius: 0 4px 4px 0;
  padding: 0 16px;
  background: #fff;
  border: 0;
  color: #1a1a1a;
}

[class*="restaler-wrapper"] .media-gallery {
  display: flex;
}

[class*="restaler-wrapper"] .media-item {
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  position: relative;
}

[class*="restaler-wrapper"] .media-preview {
  margin: 12px 0 0 0;
}

[class*="restaler-wrapper"] .media-item img {
  width: 100px;
  height: auto;
}

[class*="restaler-wrapper"] .remove-media-button {
  margin: 0 0 0 12px;
}

[class*="restaler-wrapper"] .wp-picker-container .iris-picker {
  border-color: #E2E8F0;
}

[class*="restaler-wrapper"] .wp-picker-container {
  display: block;
}

[class*="restaler-wrapper"] .field-repeater {
  background: #fff;
  padding: 24px;
  border: 1px solid #E2E8F0;
  display: block;
}

[class*="restaler-wrapper"] .repeater-item {
  border: 1px solid #E2E8F0;
  padding: 15px;
  margin-bottom: 10px;  
  background: #F8FAFC;
}

[class*="restaler-wrapper"] .repeater-title {
  margin: 0 0 10px 0;
  display: inline-block;
}

[class*="restaler-wrapper"] .repeater-item .remove-item,
[class*="restaler-wrapper"] .remove-single-media {
  float: right;
  color: #fff;
  cursor: pointer;
  border-radius: 50px;
  background: #EF4444;
  display: none;
}

[class*="restaler-wrapper"] .repeater-item:hover .remove-item,
[class*="restaler-wrapper"] .media-item:hover .remove-single-media {
  display: inline-block;
}

[class*="restaler-wrapper"] .repeater-item .remove-item span {
  font-size: 16px;
  line-height: 20px;
}

[class*="restaler-wrapper"] .add-repeater-item,
[class*="restaler-wrapper"] .add-repeater-item:hover,
[class*="restaler-wrapper"] .add-repeater-item:focus {
  font-size: 14px;
  background: #6366F1;
  color: white;
  border-color: #6366F1;
  padding: 0 12px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

[class*="restaler-wrapper"] .richtext-editor {
  max-width: 720px;
  width: 720px;
}

[class*="restaler-wrapper"] .richtext-editor .tab-nav {
  display: flex;
  gap: 8px;
}

[class*="restaler-wrapper"] .richtext-editor .tab-nav li {
  cursor: pointer;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: 4px;
}

[class*="restaler-wrapper"] .richtext-editor .tab-nav li.active {
  color: #6366F1;
  border-color: #6366F1;
}

[class*="restaler-wrapper"] .CodeMirror-sizer {
  padding: 6px 0 0 42px;
}

[class*="restaler-wrapper"] .CodeMirror-gutters {
  border-right: 1px solid #E2E8F0;
  background-color: #F1F2FD;
  white-space: nowrap;
}

[class*="restaler-wrapper"] .log-container {
  background: #1a1a1a;
  padding: 16px;
  width: 90%;
  border-radius: 4px;
  margin: 0 0 24px 0;
}

[class*="restaler-wrapper"] table.email-logs {
  margin: 24px 0;
}

[class*="restaler-wrapper"] .log-entry {
  font-family: Consolas, Monaco, monospace;
  width: 100%;
  padding: 2px 0;
  color: #fff;
  font-size: 14px;
  opacity: 0.7;
  gap: 12px;
}

[class*="restaler-wrapper"] .log-entry * {
  font-size: 14px;
  margin: 0;
}

[class*="restaler-wrapper"] .log-details {
  gap: 8px;
}

.plugin-deactivation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.plugin-deactivation-content {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 400px;
  width: 90%;
  z-index: 99999;
  padding: 32px;
  border-radius: 12px;
}

.deactivation-reasons li label + input,
.deactivation-reasons li label + textarea {
  margin: 8px 0;
}

.plugin-deactivation-content h2 {
  font-size: 18px;
  font-weight: 600;
}

[class*="restaler-wrapper"] .deactivation-actions button {
  margin-right: 12px;
}

.restaler-analytics-wrap {
  width: 100%;
  margin: 28px 0 0 0;
}

.restaler-analytics-wrap h3 {
  font-weight: 400;
  font-size: 20px;
}

.restaler-analytics-cards {
  display: flex;
  flex-wrap: wrap;
}

.restaler-analytics-cards > div {
  width: 30%;
  padding: 20px 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
}

.restaler-analytics-cards .metric-title {
  font-size: 16px;
  margin: 0 0 8px 0;
  position: relative;
}

.restaler-analytics-cards .metric-value {
  font-size: 21px;
  margin: 0;
}

.metric-tooltip {
  position: absolute;
  transform: translateY(-50%);
  margin-left: 8px;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.metric-tooltip-wrapper:hover .metric-tooltip {
  opacity: 1;
  visibility: visible;
}

.no-border-right {
  border-right: 0 !important;
}

.no-border-bottom {
  border-bottom: 0 !important;
}

.no-border-top {
  border-top: 0 !important;
}

.restaler-analytics-period-dropdown {
  display: none;
  background: #fff;
  position: absolute;
  z-index: 9;
  border: 1px solid #E2E8F0;
  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
  border-top: 0;
  margin: -8px 0 0 0;
  border-radius: 6px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.restaler-analytics-period-dropdown ul {
  margin-top: 0;
}

.restaler-analytics-period-switch-wrap {
  max-width: 300px;
  position: relative;
}

.restaler-analytics-current-filter {
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 16px 20px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.restaler-analytics-period-dropdown li {
  cursor: pointer;
}

.restaler-analytics-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.restaler-analytics-chart-type > span {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 4px;
  margin-right: 8px;
  cursor: pointer;
}

.restaler-analytics-chart-type > span:last-child {
  margin-right: 24px;
}

.restaler-analytics-chart-type > span.active {
  color: #6366F1;
  border-color: #D1D1FF;
}
