:root{--psm-subscriptions-color: #4caf50; --psm-trials-color: #ff9800;--sand:#F2E4D4;--golden:#FFC857;--coral:#FF6B6B;--teal:#20A4F3;--sea-green:#41BA90;--sea-green-highlight:#48C9B0;--white:#ffffff;--sea-green-dark:#6DAE89;--sea-green-med:rgba(60,179,113,0.7);--sea-green-lighter:rgba(143,188,143,0.7);--muted-teal:#33D2A7;--dark-gray:#2a2a2a;--light-gray:#f1f1f1;--black:#000000}body,td,th,p,h1,h2,h3,h4{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}#wpcontent{background-color:var(--sand); min-height:100vh; margin-bottom:200px}#palms-header{background-color:white;margin-left:-20px;margin-bottom:0;padding:10px 20px;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:12px 20px;border-bottom:1px solid #ddd; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);}#palms-header a{text-decoration:none;font-size:1.2em;color:#0056b3}#palms-header-nav{display:flex;justify-content:flex-start;align-items:center;gap:20px}#palms-header-nav a{text-decoration:none;font-size:16px;font-weight:500;padding:6px 12px;border-radius:5px;color:black;transition:background-color 0.3s,color 0.3s}#palms-header-nav a.active{background-color:#007cba;font-weight:bold}.dashicons, .psm-view-tab,  .psm-view-tabs{display:flex !important;align-items:center !important; gap:10px;}
.psm-controls{
	padding:10px;
}
.button{ font-size:14px !important;}

.psm-view-tab {
    background: #f7f7f7;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px !important; 
    cursor: pointer;
    transition: all 0.2s ease-in-out;
	font-size:14px;
}
.dashicons-plus::before{
	margin-top:3px;
}
.psm-view-tab.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}
.psm-modal strong, .psm-modal textarea, .psm-modal a{
	font-size:16px;
}
.psm-legend-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
}
.psm-views-container{
	padding-bottom:20px;
}
.psm-views-container,.st-settings-section,.st-support-feedback-sidebar{
	background-color:#fff;
	border-radius:12px !important;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}
.st-settings-section{
padding:20px;
	margin-bottom:20px;
}
.wp-list-table{
	border:none !Important;
	padding:0px 0px;
}
.wp-list-table td{
	background-color:transparent;
}

#psm-table-view thead tr th, #psm-trials-view thead tr th{
	border-bottom:1px solid #ccc;
	font-size:14px;
	text-align:left;
	font-weight:normal;
	padding-left:20px;
}
#psm-table-view td, #psm-trials-view td{
	font-size:14px;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:20px;
	padding-right:20px;
	background-color:white;
	vertical-align:middle !important;
}
/* Table Styling */
.psm-table, .psm-trials{
  width: 100%;
  border-collapse: collapse;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.psm-table thead th, .psm-trials thead th{
  padding: 12px 15px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}

.psm-table tbody tr,.psm-trials tbody tr {
  border-bottom: 1px solid #ecf0f1;
  transition: background-color 0.2s ease;
}

.psm-table tbody tr:hover {
  background-color: #f9f9f9;
}

.psm-table tbody td, .psm-trials tbody td  {
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #34495e;
}

.col-name{
	font-weight:bold;
}
.col-cat select{
	min-width:80px !important;
}
-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}select:disabled,input:disabled{color:#f0f0f0 !important;background-color:#f0f0f0 !important;border:1px solid #ccc}input:disabled::placeholder{color:#f0f0f0 !important}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}input[type="number"]{-moz-appearance:textfield}
select:disabled {
  background-image: none !important;
background-color:#f3f3f3 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
select, input, date{
  background-repeat: no-repeat;
  background-position: right center;
  appearance: none;
	padding:3px 6px;
	cursor:pointer;
	border:1px solid #eee !important;
}
.st-settings-section .button{
	padding:8px 20px;
	border:none !important;
	border-radius: 4px;
	color:white !important;
	background-color:var(--sea-green) !important;
}

.submit{
	padding:0;
	margin:0;
}
.submit .button{
	font-weight:bold;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

select:hover, input:hover{
	background-color:#f3f3f3 !important;
	border-radius:5px;
	color:#333;
}

select:disabled,input:disabled, date:disabled {
    color: #f0f0f0 !important;
    background-color: #fefefe !important; 
    border: 1px solid #fefefe; 
	box-shadow:none;
}
input[type="date"]{
		text-transform:uppercase;

}
input:disabled::placeholder {
    color: #f0f0f0 !important; 
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
.psm-section:nth-of-type(2){display:flex;gap:20px;}
.inner-card{
	background-color:#fff;
	border-radius:8px !important;
	padding:0 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.chart-card{
width:60%;
}
.table-card{
	flex:1
}
canvas{max-height:500px; padding:20px;}
.logo-container{text-decoration:none; font-weight:bold;}
.brand-name{font-weight:bold; color:black;}
.psm-reports-container{margin-top:20px;}

	.metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.metric-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  flex: 1;
  min-width: 220px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover , .inner-card:hover{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.metric-card, .inner-card{box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08); !important}

.metric-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}
.st-settings-section strong{
	font-size:16px;
	margin:20px 0 !important;
}
.metric-card p {
  font-size: 2em;
  font-weight: bold;
  color: #27ae60;
  margin: 0;
}

.inner-card.table-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #27ae60;
}

.psm-filter-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.psm-filter-dropdown label {
  font-size: 1rem;
  color: #7f8c8d;
}

.psm-filter-dropdown select {
	min-width:100px;
  font-size: 1rem;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  background-color: #ecf0f1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.psm-filter-dropdown select:focus {
  outline: none;
  border-color: #27ae60;
  background-color: #ffffff;
}


.notice{
	margin-left:-10px;
	margin-top:10px;
	margin-bottom:10px;
}

	
#subscription-modal.modal-on, #trial-modal.modal-on , .modal-on{
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

#subscription-modal .modal-content, #trial-modal .modal-content, .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.psm-close {
font-size:20px;
	cursor:pointer;
}

.psm-close:hover {
  color: #cc0000;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  color: #555;
}

.dropdown-toggle:hover {
  color: #000;
}

.dropdown-menu {
    display: none;
    position: fixed; 
    z-index: 9999;  
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 5px;
    margin-top: 4px;
	min-width:120px;
}
.dropdown.active .dropdown-menu {
    display: block;
}
.dropdown-menu .palms-action-button{
	font-size:14px;
	display:block;
	padding: 12px 12px;
	width:100% !important;
	border:0 !important;
	cursor:pointer;
}
.palms-action-button:hover{
	color:var(--sea-green);
}
.psm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.psm-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%; 
    max-width: 400px;
	max-height:80%;
    margin: 15% auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.psm-close-modal {
    float: right;
    font-size: 24px;
    cursor: pointer;
}
.psm-modal-actions {
    margin-top: 20px;
}
.psm-modal-actions button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
#psm-optimize-btn {
    background-color: #41BA90;
    color: white;
}
#psm-close-btn {
    background-color: #ccc;
}
.psm-modal form {
    max-width: 500px;
    margin: 0px auto;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}

.psm-modal label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.psm-modal input[type="text"],
.psm-modal input[type="email"],
.psm-modal input[type="number"],
.psm-modal input[type="date"],
.psm-modal select,
.psm-modal textarea {
	display:block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.psm-modal button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.psm-modal button:hover {
    background-color: #005177;
}
        .onboarding-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.6);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }
		.onboarding-modal .st-settings-section{
			margin:0 !important;
			box-shadow:none !important;

		}
        .onboarding-modal-content {
            background: #fff;
            padding: 30px;
            max-width: 700px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 10px;
            position: relative;
        }
        .onboarding-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 22px;
            cursor: pointer;
        }
        .onboarding-slideshow p, .onboarding-slideshow .slide strong {
            font-size: 14px !important;
        }
        .onboarding-slideshow {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 5px;
            margin-bottom: 15px;
        }
        .onboarding-slideshow .slide {
            display: none;
        }
        .onboarding-slideshow .slide h3 {
            margin-top: 0;
            color: var(--sea-green);
        }
        .onboarding-controls {
            margin-top: 10px;
            display: flex;
            gap: 20px;
        }
        .onboarding-controls button {
            background-color: var(--sea-green);
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 3px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .onboarding-controls button:hover {
            background-color: #379f7a;
        }

.micro-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fff; 
  color: #333; 
  padding: 20px;
  border-left: 4px solid var(--sea-green);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.5s ease;
	width:300px;
	text-align:left;
	font-weight:400;
}

.micro-feedback.show {
  opacity: 1;
}

.palmsst_controls .button{
	padding:4px 12px !important;
	gap:5px !important;
	border:1px solid var(--sea-green) !important;
	background-color:#fff;
	color:var(--sea-green) !important;
	font-weight:bold;
	display:flex;
	align-items:center;
	border-radius:5px;
}
.palmsst_controls .button-primary{
	background-color:var(--sea-green);
	color:#fff !important;
}
.palmsst_controls .button-primary:hover{
	background-color:#379F7A;
}

.psm-views-container{
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
	
}
#wpcontent{
	background: linear-gradient(135deg, #F2E4D4 0%, rgba(65,186,144,0.15) 100%) !important;
}
.psm-controls{
	padding:20px !Important;
}





/* Calendar */
.fc-scrollgrid-sync-table, .fc-col-header{
	border:none !important;
	border-collapse: collapse;
    border-spacing: 10px; 
}

.fc-col-header {
    border-collapse: separate !important;
	border-spacing: 10px 0 !important; 
}
.fc-event {
    background-color: #fff !important;
    padding: 5px 10px !important; 
    border-radius: 6px !important; 
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left;
    width: 100%; /* Prevent overflow */
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 4px rgba(0, 115, 230, 0.3);
	color:#333 !important;
    margin:5px 0 !important;
}
.fc-h-event{
    border: 0.18em solid #555 !important; /* Default WP blue */
	color: #333 !important;
}
.fc-event:hover {
    background-color: #fff !important; 
}
.fc-event-title{
	color:#333 !important;
	display:flex;
	align-items:center;
}
.fc-event-title {
    white-space: pre-wrap !important;
}

:root {
    --psm-subscriptions-color: #4caf50; 
    --psm-trials-color: #ff9800;       
}

.fc-event.subscription-event .fc-event-title::before {
    content: "■ ";
    color: var(--psm-subscriptions-color);
    margin-right: 4px;
	width:20px;
	height:20px;
}
.fc-event.trial-event .fc-event-title::before {
    content: "■ ";
    color: var(--psm-trials-color);
    margin-right: 4px;
}
.fc-daygrid-day {padding:10px !important;}
.fc-day a{
	color:#333 !important;
	margin-top:-4px;
}
 .fc-button{
	 font-size:20px;
	 border:none !important;
	padding:5px 10px !important;
	background-color:var(--sea-green) !important;
}
.fc-header-toolbar{
	display:flex;
	gap:20px;
}
.fc-day-today {
	background-color:#fff !important;
	
}
.fc-day-today:after{
	content:"TODAY";
	display:flex;
	justify-content:center !important;
	align-items:center !important;
	letter-spacing:1px;
	color:#666;
}
.fc-day-today a{
	font-weight:bold;
}

.fc-scrollgrid-section-body{
	padding:20px !important;
}
.fc-col-header-cell{
	border:none !important;
}
.fc-view{
	padding:20px;
}