/*custom style starts here!*/

.rr-main-table {
	min-width: 300px;
	max-width: 600px;
	background: #ffffff;
	font-family:inherit !important;
	font-weight: 200;
	letter-spacing: 1px;
	line-height: 1.6em;
	color: #3c3c3c;
	font-size: 13px;
	border-collapse: collapse;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.rr-main-row {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.rr-main-col {
	padding: 20px 15px;
}
h3.rr-main-heading {
    font-family:inherit !important;
    color: #2c3e50;
    font-weight: 600;
}
.rr-inner-table {
	max-width: 600px;
	padding: 12px 0px;
	table-layout: fixed;
}
tr.rr-main-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

 [ren-data-tooltip]:before {
    content: attr(ren-data-tooltip);
    position: absolute;
    opacity: 0;
    padding: 12px 20px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);    
    max-width: 180px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
[ren-data-tooltip]:hover:before {
    opacity: 1;
    margin-top: 16px;
	margin-left: -150px; 
	transform: translateY(-5px);
}
[ren-data-tooltip]:not([ren-data-tooltip-persistent]):before {
    pointer-events: none;
}

.adm-tooltip-renew-rem {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 16px;
    width: 16px;
    border-radius: 50%;
	color: white;
	font-size: 11px;
	text-align: center;
    z-index: 9999999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative; /* Add position relative for tooltip positioning */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.adm-tooltip-renew-rem:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.1);
}

/* Fix tooltip positioning */
#sphoveringTooltip {
    position: absolute !important;
    z-index: 99999 !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    max-width: 250px !important;
    width: auto !important;
    word-wrap: break-word !important;
    text-align: left !important;
    line-height: 1.4 !important;
    pointer-events: none !important;
    white-space: normal !important;
}

textarea#froala-editor {
    width: 515px;
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    transition: border-color 0.3s ease;
}

textarea#froala-editor:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.renewal-reminder-plugin input.renew-admin_email_subj,input.renew-admin_notify_day,.example-class select {
    width: 515px!important;
    max-width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
}

.renewal-reminder-plugin input.renew-admin_email_subj:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Apply styles within the main plugin wrapper */
.renewal-reminder-plugin h1.renew-rem-makin-title {
  line-height: normal;
    color: #2c3e50;
    font-size: 2.5em;
    margin: 0.5em 0 0.2em; /* Adjusted margin */
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center; /* Ensure title is centered */
}

.renewal-reminder-plugin .renew-rem-subtitle {
    color: #7f8c8d;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 2em;
    margin-top: -10px;
}


span.renew-rem-by-text {
    float: right;
    margin-top: -46px;
}

p.rr-content-text {
    white-space: pre-line !important;
    margin: 25px 30px 27px 25px;
    line-height: 1.7;
}

hr.rr-footer-rule {
    border: none;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	margin: 12px 58px;
	border-radius: 2px;
}

p.rr-brand-text {
    text-align: center;
	color: #7f8c8d;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
	font-size: 11px;
	font-weight: 500;
}

a.rr-brand-link {
    text-decoration: none;
	font-size: 13px;
	color: #7f8c8d !important;
	transition: color 0.3s ease;
}

a.rr-brand-link:hover {
    color: #667eea !important;
}

p.notice-rem-text {
    font-size: 11px !important;
    font-weight: 600;
    font-style: italic;
    color: #7f8c8d;
}

/*loaader*/
.renew-spin-meter {
    box-sizing: content-box;
    height: 16px;
    position: relative;
    background: #e9ecef; /* Lighter background */
    border-radius: 25px;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); /* Softer shadow */
}

.renew-spin-meter > span {
    display: block;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2); /* Softer shadow */
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease;
}

.renew-spin-meter > span:after,
.animate > span > span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.3) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0.3) 75%,
      transparent 75%,
      transparent
    );
    z-index: 1;
    background-size: 30px 30px;
    animation: move 1.5s linear infinite;
    border-radius: 20px;
    overflow: hidden;
}

@keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

#renew-rem-page-wrap {
    width: 520px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff; /* Ensure white background */
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Softer shadow */
}

.renew_rem_progress {
    margin: 15px auto;
    min-height: 16px;
}

/*css for default sync page*/
.renewal-reminder-plugin .renew-main-sync-box {
    margin: auto;
    margin-top: 30px;
    width: 70%;
    border: none;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff; /* Changed to white for a cleaner look */
    box-shadow: 0 15px 35px rgba(0,0,0,0.07); /* Softer shadow */
    position: relative;
    overflow: hidden;
    border-top: 4px solid #667eea; /* Accent border */
}

.renewal-reminder-plugin .renew-main-sync-box:before {
    display: none; /* Remove conflicting gradient overlay */
}

/*button style*/
.renewal-reminder-plugin .renew-rem-button-sect {
    margin: 3%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renewal-reminder-plugin .renew-firstload {
    width: auto; /* Adjusted for dynamic width */
    padding: 0 35px; /* Added padding */
    height: 55px;
    font-size: 14px;
    text-transform: uppercase;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.renewal-reminder-plugin .renew-firstload:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.renewal-reminder-plugin .renew-firstload:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.renewal-reminder-plugin .renew-firstload:hover:before {
    left: 100%;
}

div#wpfooter {
    bottom: auto !important;
}

.renewal-reminder-plugin .ren-completed-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    font-weight: 600; /* Slightly less bold */
    color: #27ae60;
    font-size: 16px;
    padding: 20px;
    background: #e6f7f0; /* Lighter green background */
    border-radius: 12px;
    border-left: 4px solid #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1); /* Subtle shadow */
}

.renewal-reminder-plugin .renew-text {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    color: #495057; /* Darker grey for better readability */
    font-size: 14px;
    line-height: 1.6;
}

.renewal-reminder-plugin .re-compare-bar-tabs {
    padding-bottom: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em; /* Slightly larger */
    color: #343a40; /* Darker color */
    font-weight: 500;
}

.renewal-reminder-plugin .renew-rem-button-sect-default {
    padding-top: 40px;
    text-align: center;
    min-height: 80px; /* Ensure consistent height during transitions */
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync {
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #343a40;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95em;
}

/* Improve manual sync styling */
.renewal-reminder-plugin .tab-content-inner .renew-rem-progress {
    min-height: 0; /* Remove fixed height to prevent unwanted space */
    margin: 0; /* Remove default margins */
    transition: all 0.3s ease;
}

.renewal-reminder-plugin .tab-content-inner #renew-rem-page-wrap {
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    min-height: auto; /* Prevent fixed height issues */
}

.renewal-reminder-plugin .tab-content-inner .ren-completed-status {
    margin: 20px auto;
    max-width: 500px;
    min-height: auto; /* Prevent fixed height issues */
}

.renewal-reminder-plugin .tab-content-inner .renew-rem-button-sect-default {
    padding-top: 30px;
    text-align: center;
    min-height: auto; /* Remove fixed height to prevent space issues */
    transition: all 0.3s ease;
}

/* Better sync section layout */
.renewal-reminder-plugin .tab-content-inner .re-compare-bar-tabs-sync {
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #343a40;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

/*button style*/
.renewal-reminder-plugin .renew-rem-button-sect {
    margin: 3%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renewal-reminder-plugin .renew-firstload {
    width: auto; /* Adjusted for dynamic width */
    padding: 0 35px; /* Added padding */
    height: 55px;
    font-size: 14px;
    text-transform: uppercase;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.renewal-reminder-plugin .renew-firstload:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.renewal-reminder-plugin .renew-firstload:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.renewal-reminder-plugin .renew-firstload:hover:before {
    left: 100%;
}

div#wpfooter {
    bottom: auto !important;
}

.renewal-reminder-plugin .ren-completed-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    font-weight: 600; /* Slightly less bold */
    color: #27ae60;
    font-size: 16px;
    padding: 20px;
    background: #e6f7f0; /* Lighter green background */
    border-radius: 12px;
    border-left: 4px solid #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1); /* Subtle shadow */
}

.renewal-reminder-plugin .renew-text {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    color: #495057; /* Darker grey for better readability */
    font-size: 14px;
    line-height: 1.6;
}

.renewal-reminder-plugin .re-compare-bar-tabs {
    padding-bottom: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em; /* Slightly larger */
    color: #343a40; /* Darker color */
    font-weight: 500;
}

.renewal-reminder-plugin .renew-rem-button-sect-default {
    padding-top: 40px;
    text-align: center;
    min-height: 80px; /* Ensure consistent height during transitions */
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync {
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #343a40;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.renewal-reminder-plugin .re-compare-bar-tabs-sync p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95em;
}

/* Improve manual sync styling */
.renewal-reminder-plugin .tab-content-inner .renew-rem-progress {
    min-height: 0; /* Remove fixed height to prevent unwanted space */
    margin: 0; /* Remove default margins */
    transition: all 0.3s ease;
}

.renewal-reminder-plugin .tab-content-inner #renew-rem-page-wrap {
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    min-height: auto; /* Prevent fixed height issues */
}

.renewal-reminder-plugin .tab-content-inner .ren-completed-status {
    margin: 20px auto;
    max-width: 500px;
    min-height: auto; /* Prevent fixed height issues */
}

.renewal-reminder-plugin .tab-content-inner .renew-rem-button-sect-default {
    padding-top: 30px;
    text-align: center;
    min-height: auto; /* Remove fixed height to prevent space issues */
    transition: all 0.3s ease;
}

/* Better sync section layout */
.renewal-reminder-plugin .tab-content-inner .re-compare-bar-tabs-sync {
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #343a40;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

/* Enhanced ad container styling */
.renewal-reminder-plugin .sp-ad {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.renewal-reminder-plugin .sp-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

/* Decorative animated circles */
.renewal-reminder-plugin .sp-ad:before,
.renewal-reminder-plugin .sp-ad:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    animation: float 6s ease-in-out infinite;
}
.renewal-reminder-plugin .sp-ad:before {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}
.renewal-reminder-plugin .sp-ad:after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
    animation-duration: 8s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(10px) translateX(10px); }
}

/* Enhanced content styling */
.renewal-reminder-plugin .sp-ad .sp-ad-content h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}
.renewal-reminder-plugin .sp-ad .sp-ad-content p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 15px;
}

/* Styled Talk to Us button */
.renewal-reminder-plugin .sp-ad .pricing-button {
    background: #fff;
    color: #4facfe;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}
.renewal-reminder-plugin .sp-ad .pricing-button:hover {
    background: #ffffffcc;
    color: #007acc;
}

/* Close icon style */
.renewal-reminder-plugin .sp-ad .sp-ad-dismiss {
    color: #fff;
    opacity: 1;
    font-size: 18px;
    position: absolute;
    top:-13px;
    right:0px;
}
.renewal-reminder-plugin .sp-ad .sp-ad-dismiss::before {
color: #fff;
}
.renewal-reminder-plugin .sp-ad .sp-ad-dismiss:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .renewal-reminder-plugin .sp-ad {
        padding: 15px;
    }
    .renewal-reminder-plugin .sp-ad .sp-ad-content h2 {
        font-size: 1.5em;
    }
    .renewal-reminder-plugin .sp-ad .pricing-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/*custom style end -1.0.4*/

/*custom style version 1.1.7  */
.renewal-reminder-plugin .sp-renewal-pro {
    background: #fff;
    padding: 35px; /* Increased padding */
    margin-right: 15px;
    margin-top: 30px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Softer shadow */
    position: relative;
    overflow: hidden;
}

.renewal-reminder-plugin .sp-renewal-pro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px; /* Slightly thicker accent */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.renewal-reminder-plugin .sp-renewal-pro p, .renewal-reminder-plugin .sp-renewal-pro ul li{
    font-size: 15px; /* Slightly larger font */
    line-height: 1.7; /* Increased line height */
    color: #495057; /* Darker grey */
}

.renewal-reminder-plugin .screenshots {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: space-around; /* Better spacing */
    gap: 25px; /* Increased gap */
}

.renewal-reminder-plugin .screenshots .img-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* Softer shadow */
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
    aspect-ratio: 15/9; /* Adjusted aspect ratio for better display */
}

.renewal-reminder-plugin .screenshots .img-card:hover {
    transform: translateY(-8px) scale(1.02); /* Enhanced hover effect */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* Enhanced shadow */
}

.renewal-reminder-plugin .screenshots .column {
    margin-bottom: 20px;
    width: calc(50% - 20px); /* Adjusted for gap */
    min-width: 280px; /* Minimum width for smaller screens */
}

.renewal-reminder-plugin .screenshots .img-card img{
    width: 100%;
    transition: transform 0.3s ease;
}

.renewal-reminder-plugin .screenshots .img-card:hover img {
    transform: scale(1.05);
}

.renewal-reminder-plugin .screenshots .column p{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #34495e;
    margin-top: 15px !important;
}

.renewal-reminder-plugin .premium-links p, .renewal-reminder-plugin .premium-features p {
    color: #343a40; /* Darker color */
    font-weight: 600;
    font-size: 16px;
}

.renewal-reminder-plugin .premium-features li {
    list-style: none;
    position: relative;
    padding-left: 30px; /* Increased padding */
    margin-bottom: 10px; /* Increased margin */
}

.renewal-reminder-plugin .premium-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 18px; /* Larger checkmark */
    top: 2px; /* Align checkmark */
}

.renewal-reminder-plugin .premium-features ul{
    margin-left: 0;
    padding-left: 5px; /* Added padding */
}

.renewal-reminder-plugin .button-upgrade {
    padding: 15px 30px; /* Adjusted padding */
    width: auto;
    max-width: 320px; /* Slightly wider */
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    margin-top: 35px; /* Increased margin */
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25); /* Adjusted shadow */
}

.renewal-reminder-plugin .button-upgrade:hover {
    transform: translateY(-5px) scale(1.03); /* Enhanced hover */
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.35); /* Enhanced shadow */
}

.renewal-reminder-plugin .button-upgrade a{
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

#wpcontent {
    background: #f8f9fa;
}

/*custom style end--version 1.1.7  */

/* custom style version 1.1.8 */
.renewal-reminder-plugin .sp-ad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5%;
  border: none;
  padding: 40px 30px; /* Adjusted padding */
  width: auto; /* Let it be defined by parent or defaults */
  max-width: 97%; /* Ensure it doesn't exceed parent too much */
  margin-left: auto; /* Center if width is less than 100% */
  margin-right: auto; /* Center if width is less than 100% */
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1); /* Softer shadow */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  margin-top: 25px;
  margin-bottom: 30px; /* Increased bottom margin */
}

.renewal-reminder-plugin .sp-ad:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); /* More subtle effect */
    animation: rotate 25s linear infinite; /* Slower animation */
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.renewal-reminder-plugin .sp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-bottom: 15px; /* Added margin */
}

.renewal-reminder-plugin .logo-container a img{
    width: 90px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added shadow transition */
}

.renewal-reminder-plugin .logo-container a img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Shadow on hover */
}

.renewal-reminder-plugin .sp-col-12 {
    width: 100%;
  
    position: relative;
    z-index: 2;
    text-align: start; /* Center align text */
}

.renewal-reminder-plugin .sp-col-12 * {
    color: white;
}

.renewal-reminder-plugin .sp-col-12 h2 {
    margin-top: 0;
    line-height: 1.5; /* Increased line height */
    margin-bottom: 20px;
    font-weight: 500; /* Adjusted font weight */
    font-size: 1.5rem; /* Adjusted font size */
}

.renewal-reminder-plugin .sp-ad-dismiss {
    position: absolute;
    top: 10px; /* Adjusted position */
    right: 10px; /* Adjusted position */
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 35px; /* Increased size */
    height: 35px; /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer; /* Add cursor pointer */
}

.renewal-reminder-plugin .sp-ad-dismiss:hover {
    color: #fbb03b;
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotate(90deg); /* Added rotation */
}

.renewal-reminder-plugin .sp-pricing-footer {
    display: flex;
    justify-content: center;
    z-index: 99;
    padding-bottom: 2%;
    position: relative;
}

.renewal-reminder-plugin .sp-ad .pricing-button {
    text-decoration: none;
    background: #fbb03b;
    color: #2c3e50;
    padding: 16px 40px; /* Increased padding */
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 17px; /* Increased font size */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(251, 176, 59, 0.25); /* Adjusted shadow */
    display: inline-block;
}

.renewal-reminder-plugin .sp-ad .pricing-button:hover {
    transform: translateY(-10px) scale(1.05); /* Enhanced hover */
    box-shadow: 0 20px 40px rgba(251, 176, 59, 0.35); /* Enhanced shadow */
    background: white;
    color: #667eea;
}

/* Navigation tabs */
.renewal-reminder-plugin .nav-tab-wrapper {
    border-bottom: 1px solid #dee2e6; /* Added subtle border */
    margin-bottom: 0;
    padding-top: 20px;
    display: flex; /* For better alignment if needed */
    justify-content: flex-start; /* Align tabs to the start */
}

.renewal-reminder-plugin .nav-tab-wrapper .nav-tab{
    margin-left: 0;
    margin-right: 8px; /* Reduced margin */
    border: none;
    border-radius: 8px 8px 0 0; /* Sharper radius */
    background: #ffffff; /* Lighter background */
    color: #495057; /* Darker text */
    padding: 14px 28px; /* Adjusted padding */
    font-weight: 600; /* Bolder font */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure tabs are above content before active */
}

.renewal-reminder-plugin .nav-tab-wrapper .nav-tab:before {
    content: '';
    position: absolute;
    bottom: 0; /* Animate from bottom */
    left: 0;
    width: 100%;
    height: 0; /* Start with no height */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: height 0.3s ease; /* Animate height */
    z-index: -1;
}

.renewal-reminder-plugin .nav-tab-wrapper .nav-tab.nav-tab-active,
.renewal-reminder-plugin .nav-tab-wrapper .nav-tab:hover {
    color: white;
    border: none;
    box-shadow: 0 -4px 10px rgba(102, 126, 234, 0.15); /* Top shadow for active tab */
}

.renewal-reminder-plugin .nav-tab-wrapper .nav-tab.nav-tab-active:before,
.renewal-reminder-plugin .nav-tab-wrapper .nav-tab:hover:before {
    height: 100%; /* Fill height on hover/active */
}


/* Form improvements */
.renewal-reminder-plugin .wp-editor-wrap {
    position: relative;
    width: 515px; /* Match textarea width */
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border: 2px solid #e1e8ed;
    padding: 10px;
}

.renewal-reminder-plugin textarea#froala-editor {
    width: 100%; /* Fill parent container */
    border-radius: 0;
    border: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    padding: 12px;
    min-height: 150px;
}

.renewal-reminder-plugin .wp-editor-wrap:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Shortcodes section */
.renewal-reminder-plugin .renew-rem-shortcodes {
    border: 1px solid #dee2e6; /* Standard border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Softer shadow */
    margin-top: 25px; /* Increased margin */
}

.renewal-reminder-plugin .renew-rem-shortcodes .short-code-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%); /* Adjusted gradient */
    color: white;
    font-weight: 600;
    font-size: 1.1em; /* Slightly larger */
}

.renewal-reminder-plugin .renew-rem-shortcodes ul {
    padding: 20px;
    color: #343a40; /* Darker text */
    background: #f8f9fa;
}

.renewal-reminder-plugin .renew-rem-shortcodes li { /* Target li for margin */
    margin-bottom: 8px; /* Add some space between list items */
}

.renewal-reminder-plugin .renew-rem-shortcodes li span:hover {
    color: #667eea;
    cursor: pointer;
    background: rgba(102, 126, 234, 0.1);
/* Adjusted padding */
    border-radius: 6px; /* Adjusted radius */
    transition: all 0.2s ease; /* Faster transition */
}

.renewal-reminder-plugin .renew-rem-shortcodes ul li span {
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Responsive improvements */
@media only screen and (max-width:1300px){
    .sp-valuable-package{
        position:unset;
        transform: none;
    }
}

@media only screen and (max-width:767px){
    .renewal-reminder-plugin .wp-editor-wrap {
        width: 100%;
    }
    
    .renewal-reminder-plugin textarea#froala-editor {
        width: 100%;
    }
    
    .renewal-reminder-plugin input.renew-admin_email_subj {
        width: 100%;
        max-width: 515px;
    }
    
    .renewal-reminder-plugin .sp-ad{
        width: auto;
        max-width: 95%;
        padding: 30px 15px;
    }
    
    .renewal-reminder-plugin .sp-ad-dismiss{
        top: 5px;
        right: 5px;
    }
    
    .renewal-reminder-plugin h1.renew-rem-makin-title{
        line-height: 1.3;
        font-size: 2rem;
    }
    
    .renewal-reminder-plugin .renew-main-sync-box {
        width: auto;
        max-width: 90%;
        padding: 30px 15px;
    }
    
    .renewal-reminder-plugin .renew-firstload {
        width: 100%;
        max-width: 280px;
        padding: 0 20px;
    }
    
    .renewal-reminder-plugin .screenshots .column {
        width: 100%;
        min-width: unset;
    }
    
    .renewal-reminder-plugin .nav-tab-wrapper .nav-tab {
        padding: 12px 18px;
        font-size: 0.9em;
    }
    
    .renewal-reminder-plugin .tab-content-inner {
        padding: 20px 15px;
    }
}

/* Success/Error message styling */
.renewal-reminder-plugin .notice {
    border-radius: 8px;
    border-left-width: 5px; /* Thicker border */
    box-shadow: 0 2px 8px rgba(0,0,0,0.07); /* Softer shadow */
    padding: 15px 20px; /* Increased padding */
    margin-bottom: 20px; /* Added margin */
}

.renewal-reminder-plugin .notice-success {
    border-left-color: #27ae60;
    background: #e6f7f0; /* Lighter green */
    color: #1f7545; /* Darker text for contrast */
}

.renewal-reminder-plugin .notice-error {
    border-left-color: #e74c3c;
    background: #fcebea; /* Lighter red */
    color: #b93e30; /* Darker text for contrast */
}

/* Button primary styling */
.renewal-reminder-plugin .button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50px !important; /* Fully rounded */
    padding: 12px 28px !important; /* Adjusted padding */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25) !important; /* Adjusted shadow */
    transition: all 0.3s ease !important;
    color: #fff !important; /* Ensure text is white */
}

.renewal-reminder-plugin .button-primary:hover,
.renewal-reminder-plugin .button-primary:focus { /* Added focus state */
    transform: translateY(-3px) scale(1.02) !important; /* Enhanced hover/focus */
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35) !important; /* Enhanced shadow */
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important; /* Gradient shift on hover */
    outline: none !important; /* Remove default focus outline */
}
.renew-rem-tab-content {
   /* Adjusted from 30px for better balance */
    margin-left: 0; /* Ensure no unintended left margin */
    padding: 20px; /* Add padding to the content area */
    background: #ffffff; /* White background for content area */
    border-radius: 0 0 15px 15px; /* Round bottom corners */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Subtle shadow */
    margin-top: -1px; /* Overlap with tab border */
    position: relative; /* For z-index stacking if needed */
    z-index: 0;
}

/* Ensure the wrapper itself has a background if needed, or body */
body.wp-admin #wpcontent { /* More specific to admin area */
    background: #f0f2f5; /* Light grey background for the entire admin page */
}

.renewal-reminder-plugin { /* Styles for the main plugin container */
    max-width: 1200px; /* Increased max-width */
    margin: 20px auto;
    padding: 0 20px; /* Increased padding */
    background: transparent;
}

/* Fix notice styling within wrapper */
.renewal-reminder-plugin .sp-notice {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Ensure premium section is properly scoped */
.renewal-reminder-plugin .sp-renewal-pro {
    background: #fff;
    padding: 35px;
    margin-right: 0; /* Remove margin for consistency */
    margin-top: 30px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

/* Fix button styling conflicts */
.renewal-reminder-plugin .button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25) !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
    text-shadow: none !important;
}

.renewal-reminder-plugin .button-primary:hover,
.renewal-reminder-plugin .button-primary:focus {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    outline: none !important;
    color: #fff !important;
}
.form-table .example-class  td {
    vertical-align: baseline!important;
}

/* Custom checkbox styling within tab content */
.renewal-reminder-plugin .tab-content-inner input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:hover {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: checkboxCheck 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes checkboxCheck {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(45deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Style labels next to checkboxes */
.renewal-reminder-plugin .tab-content-inner label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.renewal-reminder-plugin .tab-content-inner label:hover {
    color: #667eea;
}

/* Style for checkbox groups */
.renewal-reminder-plugin .tab-content-inner .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.renewal-reminder-plugin .tab-content-inner .checkbox-group legend,
.renewal-reminder-plugin .tab-content-inner .checkbox-group .group-title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Alternative toggle switch style for specific checkboxes */
.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #dee2e6;
    border: none;
    position: relative;
    cursor: pointer;
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch:checked::before {
    transform: translateX(20px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch:hover::before {
    transform: scale(1.1);
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch:checked:hover::before {
    transform: translateX(20px) scale(1.1);
}

/* Responsive adjustments for checkboxes */
@media only screen and (max-width:767px) {
    .renewal-reminder-plugin .tab-content-inner input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    .renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch {
        width: 40px;
        height: 22px;
    }
    
    .renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch::before {
        width: 18px;
        height: 18px;
    }
    
    .renewal-reminder-plugin .tab-content-inner input[type="checkbox"].toggle-switch:checked::before {
        transform: translateX(18px);
    }
    
    .renewal-reminder-plugin .tab-content-inner .checkbox-group {
        padding: 12px;
    }
}

.php-error #adminmenuback, .php-error #adminmenuwrap {
    margin-top:0;
}

.renewal-reminder-plugin .tab-content-inner input[type="checkbox"]:checked::before{
  height: auto!important;
  margin: 0!important;
}

.typewriter-cursor{
    display: none;
}

.renewal-reminder-plugin .sp-col-12 {
   
    display: flex;
    gap: 10px;
   justify-content: center;
   align-items: center;
}
.sp-pricing-footer {
    min-width: 300px;
}