/**
 * WPDINO Admin Styles
 */

/* Reset and Base Styles */
.wpdino-settings-wrap {
	background: #f1f1f1;
	margin: 20px -20px 0 -2px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #23282d;
	min-height: 100vh;
	width: auto;
	margin-right: 20px;
}

/* Header */
.wpdino-header {
	color: #23282d;
	padding: 30px;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px 0px;
	position: relative;
	overflow: hidden;
	background: white;
}

.wpdino-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;	
	position: relative;
	z-index: 1;
}

.wpdino-header-content h1 {
	font-size: 32px;
	font-weight: 500;
	margin: 0;
	gap: 12px;
	margin-bottom: 10px;
}
.wpdino-header-content small {
	font-size: inherit;
	font-weight: inherit;
	color: #1a8960;
}
.wpdino-icon {
	font-size: 36px;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-5px); }
	60% { transform: translateY(-3px); }
}

.wpdino-version {
	background: #1a8960;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
}

.wpdino-tagline {
	font-size: 16px;
	margin: 0;
	opacity: 0.65;
	font-weight: 400;
}

/* Main Layout */
.wpdino-main {		
	padding: 20px 0;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 20px;
}

/* Full width when sidebar is empty or PRO is active */
.wpdino-main-no-sidebar,
.wpdino-main:has(.wpdino-sidebar:empty) {
	grid-template-columns: 1fr;
}

.wpdino-main-no-sidebar .wpdino-sidebar,
.wpdino-main:has(.wpdino-sidebar:empty) .wpdino-sidebar {
	display: none;
}

.wpdino-content {
	min-width: 0;
	background: white;
}

.wpdino-sidebar {
	min-width: 0;
	position: sticky;
	top: 32px;
	align-self: start;
	height: fit-content;
}

/* Cards */
.wpdino-card {
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.wpdino-card-header {
	padding: 30px 30px 20px;
	background: linear-gradient(135deg, #f8fffe 0%, #f0fffe 100%);
	border-bottom: 1px solid #e9f7f6;
}

.wpdino-card-header h2 {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: #1a8960;
}

.wpdino-card-header p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.wpdino-pro-card {
	background: #1b5e20;
	color: white;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.wpdino-pro-card .wpdino-card-header {
	background: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 1;
}

.wpdino-sidebar .wpdino-pro-card h2,
.wpdino-sidebar .wpdino-pro-card h3 {
	color: white;
	padding: 0;
	margin: 0;
}

.wpdino-sidebar .wpdino-pro-card p {
	color: white;
	padding: 0;
	margin: 0;
}

/* Pro Badge */
.wpdino-pro-header {
	position: relative;
	z-index: 1;
	padding: 30px;
}

.wpdino-pro-badge {
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
	color: #1b5e20;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
	line-height: 1.4;
}

.wpdino-pro-header h2 {
	color: white;
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 15px 0;
	line-height: 1.3;
}

.wpdino-pro-header > p {
	color: rgba(255, 255, 255, 0.95);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 25px 0;
	padding: 0;
}

/* Tab Navigation */
.wpdino-tabs-nav {
	display: flex;
	border-bottom: 1px solid #e8f5e9;
	padding: 0;
	margin: 0;
	background:#f8f9fa;
}

.wpdino-tab-btn {
	background: none;
	border: none;
	padding: 20px 30px;
	font-size: 14px;
	font-weight: 400;
	color: #23282d;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	gap: 8px;
	border-bottom: 2px solid transparent;
}

.wpdino-tab-btn:hover {
	color: #1a8960;
}

.wpdino-tab-btn.active {
	background: white;
	color: #1a8960;
	border-bottom-color: #1a8960;
}
.wpdino-tab-btn:focus-visible {
	outline: none;
}

.wpdino-tab-btn .dashicons {
	font-size: 16px;
}

/* Tab Content */
.wpdino-tab-content {
	display: none;
	padding: 30px;
}

.wpdino-tab-content.active {
	display: block;
}

/* Form Styles */
.wpdino-form {
	padding: 0;
	background: white;
}

.wpdino-section {
	margin-bottom: 40px;
}

.wpdino-section:last-child {
	margin-bottom: 0;
}

.wpdino-section-title {
	font-size: 20px;
	font-weight: 600;
	color: #111;
	margin: 0 0 10px 0;
	padding-bottom: 12px;
	position: relative;
}

.wpdino-section-title::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60px;
	height: 2px;
	background: #111;
}

.wpdino-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wpdino-section-title .dashicons {
	font-size: 20px;
	color: #111;
}

.wpdino-section-description {
	color: #666;
	margin-bottom: 25px;
	font-size: 14px;
	margin-top: 0px;
}

.wpdino-subsection {
	margin-top: 40px;
	margin-bottom: 25px;
	padding-top: 25px;
	border-top: 1px solid #e5e5e5;
}

.wpdino-subsection:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.wpdino-subsection-title {
	font-size: 18px;
	font-weight: 600;
	color: #111;
	margin: 0 0 10px 0;
	padding-bottom: 8px;
	position: relative;
}

.wpdino-subsection-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: #1a8960;
}

.wpdino-subsection-description {
	color: #666;
	margin-bottom: 20px;
	font-size: 14px;
	margin-top: 0px;
}

/* Widgets grid layout */
.wpdino-widgets-subsection {
	margin-bottom: 0;
	padding-bottom: 20px;
}

/* Grid wrapper for widget fields - 3 columns */
.wpdino-widgets-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 0;
	margin-bottom: 25px;
	counter-reset: widget-counter;
}

.wpdino-widgets-grid-wrapper .wpdino-field-group {
	margin-bottom: 0;
}

/* Numbered list styling for widgets */
.wpdino-widgets-grid-wrapper .wpdino-widget-field {
	position: relative;
	counter-increment: widget-counter;
}

.wpdino-widgets-grid-wrapper .wpdino-widget-field .wpdino-checkbox::before {
	content: counter(widget-counter) ".";
	font-weight: 400;
	color: #000;
	min-width: 24px;
	display: inline-block;
}

/* Don't show numbers for PRO widgets */
.wpdino-widgets-grid-wrapper .wpdino-pro-widget-field {
	counter-increment: none;
}

.wpdino-widgets-grid-wrapper .wpdino-pro-widget-field .wpdino-checkbox::before {
	content: none;
}

/* Responsive adjustments for widgets grid */
@media (max-width: 1200px) {
	.wpdino-widgets-grid-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.wpdino-widgets-grid-wrapper {
		grid-template-columns: 1fr;
	}
}

.wpdino-field-group {
	margin-bottom: 25px;
}

.wpdino-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 25px;
}

.wpdino-label {
	display: block;
	font-weight: 600;
	color: #23282d;
	margin-bottom: 8px;
	font-size: 14px;
}

.wpdino-settings-wrap .wpdino-input,
.wpdino-settings-wrap .wpdino-select,
.wpdino-settings-wrap .wpdino-textarea {
	width: 100%;
	max-width: 45%;
	padding: 8px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	background: white;
}

/* Distinctive styling for select inputs */
.wpdino-settings-wrap .wpdino-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	padding-right: 36px;
	cursor: pointer;
	background-color: #f8f9fa;
}

.wpdino-settings-wrap .wpdino-select:hover {
	background-color: #f0f0f0;
	border-color: #1a8960;
}
.wpdino-settings-wrap .wpdino-password-input {
	max-width: 100%;
}
.wpdino-settings-wrap .wpdino-field-row .wpdino-input,
.wpdino-settings-wrap .wpdino-field-row .wpdino-select,
.wpdino-settings-wrap .wpdino-field-row .wpdino-textarea {
	max-width: 90%;
}

.wpdino-settings-wrap .wpdino-input:focus,
.wpdino-settings-wrap .wpdino-select:focus,
.wpdino-settings-wrap .wpdino-textarea:focus {
	outline: none;
	border-color: #1a8960;
	box-shadow: 0 0 0 3px rgba(111, 156, 80, 0.1);
}

.wpdino-settings-wrap .wpdino-select:focus {
	background-color: white;
	border-color: #1a8960;
}

.wpdino-settings-wrap .wpdino-textarea {
	resize: vertical;
	min-height: 100px;
}

.wpdino-settings-wrap .wpdino-code {
	font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
	background: #f8f9fa;
}

.wpdino-settings-wrap .wpdino-description {
	margin: 8px 0 0 0;
	font-size: 12px;
	color: #666;
	opacity: .85;
	line-height: 1.6;
	max-width: 600px;
}

/* Checkbox Styles */
.wpdino-settings-wrap .wpdino-checkbox {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	gap: 12px;
	position: relative;
}

.wpdino-settings-wrap .wpdino-checkbox input[type="checkbox"] {
	display: none;
}

.wpdino-settings-wrap .wpdino-checkbox-mark {
	width: 20px;
	height: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.wpdino-settings-wrap .wpdino-checkbox:hover .wpdino-checkbox-mark {
	border-color: #1a8960;
}

.wpdino-settings-wrap .wpdino-checkbox input[type="checkbox"]:checked + .wpdino-checkbox-mark {
	background: #1a8960;
	border-color: #1a8960;
}

.wpdino-settings-wrap .wpdino-checkbox input[type="checkbox"]:checked + .wpdino-checkbox-mark::after {
	content: '';
	width: 6px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

/* Disabled checkbox styles */
.wpdino-settings-wrap .wpdino-checkbox-disabled {
	opacity: 0.8;
	cursor: not-allowed;
}

.wpdino-settings-wrap .wpdino-checkbox-disabled .wpdino-checkbox-mark {
	border-color: #d0d0d0;
}

.wpdino-settings-wrap .wpdino-checkbox-disabled:hover .wpdino-checkbox-mark {
	border-color: #d0d0d0;
}

/* Disabled but checked checkbox (PRO widgets) */
.wpdino-settings-wrap .wpdino-checkbox-disabled input[type="checkbox"]:checked + .wpdino-checkbox-mark {
	background: #1a8960;
	border-color: #1a8960;
	opacity: 0.7;
}

.wpdino-settings-wrap .wpdino-checkbox-disabled input[type="checkbox"]:checked + .wpdino-checkbox-mark::after {
	content: '';
	width: 6px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

/* PRO widget badge */
.wpdino-pro-badge-small {
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
	color: #1b5e20;
	font-size: 9px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 10px;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
	display: inline-block;
	line-height: 1.4;
}

.wpdino-pro-widget-field .wpdino-checkbox-label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

/* PRO widget description */
.wpdino-widget-description {
	font-size: 12px;
	color: #666;
	margin-top: 4px;
	margin-left: 32px;
	line-height: 1.4;
	opacity: 0.8;
}

.wpdino-pro-widget-field .wpdino-widget-description {
	color: #888;
}

/* Radio Button Styles */
.wpdino-radio-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wpdino-settings-wrap .wpdino-radio {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	gap: 12px;
	position: relative;
}

.wpdino-settings-wrap .wpdino-radio input[type="radio"] {
	display: none;
}

.wpdino-settings-wrap .wpdino-radio-mark {
	width: 20px;
	height: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
	position: relative;
}

.wpdino-settings-wrap .wpdino-radio:hover .wpdino-radio-mark {
	border-color: #1a8960;
}

.wpdino-settings-wrap .wpdino-radio input[type="radio"]:checked + .wpdino-radio-mark {
	border-color: #1a8960;
	background: white;
}

.wpdino-settings-wrap .wpdino-radio input[type="radio"]:checked + .wpdino-radio-mark::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1a8960;
}

/* Button Styles */
.wpdino-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}
.wpdino-btn-primary {
	background: #1a8960;
	color: #fff;
}
.wpdino-btn-primary:hover {
	background: #0e593d;
}

.wpdino-btn-primary:disabled,
.wpdino-btn-primary.inactive {
	background: #ccc;
	color: #666 !important;
	cursor: not-allowed;
	opacity: 0.6;
}

.wpdino-btn-primary:disabled:hover,
.wpdino-btn-primary.inactive:hover {
	background: #ccc;
	opacity: 0.6;
}

.wpdino-btn-secondary {
	background: #DBDBDB5C;
	color: #1a8960;
}

.wpdino-btn-secondary:hover {
	background: #1a8960;
	color: white;
}
.wpdino-btn-danger {
	background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
	color: white;	
}
.wpdino-btn-danger::before {
	background: #dc3545;
}

.wpdino-btn-danger:hover {
	background: #a41b28;
	color: white;
}

.wpdino-btn-success {
	background: linear-gradient(135deg, #28a745 0%, #218838 100%);
	color: white !important;
}

.wpdino-btn-activate-license {
	background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
	color: white !important;
}
.wpdino-btn-activate-license:hover {
	background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
}

.wpdino-btn-large {
	padding: 16px 32px;
	font-size: 16px;
}

.wpdino-btn-block {
	width: 100%;
	justify-content: center;
	border:none;
}

.wpdino-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

/* Form Footer */
.wpdino-form-footer {
	margin-top: 0;
	padding: 30px;
	border-top: 1px solid #e8f5e9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpdino-form-actions-left {
	display: flex;
	gap: 15px;
	align-items: center;
}

.wpdino-form-actions-right {
	display: flex;
	gap: 15px;
	align-items: center;
}

/* Tools Grid */
.wpdino-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.wpdino-tool-item {
	padding: 25px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0px 0px 1px 0px rgba(158, 158, 158, 0.5);
}

.wpdino-tool-icon {
	width: 40px;
	height: 40px;
	display: flex;
	margin-bottom: 20px;
	
}

.wpdino-tool-icon .dashicons {
	font-size: 34px;
	color: #1a8960;
	height:34px;
	width:34px;
}

.wpdino-tool-content h4 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0 0 10px 0;
}

.wpdino-tool-content p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.5;
	margin-top: 0;
}

/* Tools Section */
.wpdino-tools {
	padding: 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.wpdino-tool {
	text-align: center;
	padding: 25px;
	background: linear-gradient(135deg, #fff 0%, #e8f5e9 100%);
	border-radius: 8px;
	border: 1px solid #e8f5e9;
}

.wpdino-tool h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a8960;
	margin: 0 0 12px 0;
}

.wpdino-tool p {
	font-size: 14px;
	color: #666;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

/* Sidebar */
.wpdino-sidebar .wpdino-card {
	margin-bottom: 25px;
}
.wpdino-sidebar .wpdino-card:not(.wpdino-pro-card):not(.wpdino-review-card) {
	background: #f8f9fa;
}

.wpdino-sidebar h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a8960; 
	margin: 0 0 20px 0;
	padding: 30px 30px 0;
}
.wpdino-sidebar p {
	padding: 0 30px;
	font-size: 14px;
}

/* Pro Features */
.wpdino-pro-features {
	padding: 0;
	margin: 0 0 25px 0;
	position: relative;
	z-index: 1;
}

.wpdino-pro-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpdino-pro-features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.6;
	padding: 0;
}

.wpdino-pro-features li:last-child {
	margin-bottom: 0;
}

.wpdino-pro-features li .dashicons {
	color: #FFD700;
	font-size: 18px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.wpdino-pro-cta {
	position: relative;
	z-index: 1;
	padding: 0;
	margin-top: 0;
}

.wpdino-pro-cta .wpdino-btn {
	background: #FFD700 !important;
	color: #1b5e20 !important;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	max-width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	margin: 0 0 15px 0;
}

.wpdino-pro-cta .wpdino-btn:hover {
	background: #FFC700 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
	color: #1b5e20 !important;
}

.wpdino-pro-cta .wpdino-btn .dashicons {
	margin-left: 8px;
	font-size: 18px;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

.wpdino-pro-cta > p {
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
}

/* Review Card */
.wpdino-sidebar .wpdino-review-card {
	background: #fff;
	border: 1px solid #e9f7f6;
	border-radius: 8px;
}

.wpdino-review-header {
	padding: 30px;
}

.wpdino-review-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 18px;
}

.wpdino-review-stars .dashicons {
	color: #FFD700;
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.wpdino-sidebar .wpdino-review-card h2 {
	color: #1a8960;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px 0;
	padding: 0;
	text-align: center;
	line-height: 1.3;
}

.wpdino-sidebar .wpdino-review-card p {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 22px 0;
	padding: 0;
	text-align: center;
}

.wpdino-review-cta {
	padding: 0;
}

.wpdino-review-cta .wpdino-btn {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 12px 0;
	text-decoration: none;
	color: #fff;
}

.wpdino-review-cta .wpdino-btn:hover,
.wpdino-review-cta .wpdino-btn:focus {
	color: #fff;
	opacity: 0.9;
}

.wpdino-review-cta .wpdino-btn .dashicons {
	margin-left: 8px;
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #fff;
}

.wpdino-review-cta > p {
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: #888;
	line-height: 1.5;
}

/* Quick Links */
.wpdino-quick-links {
	padding: 0 30px 30px;
}

.wpdino-quick-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	color: #495057;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	transition: color 0.2s ease;
	font-size: 14px;
}

.wpdino-quick-link:hover {
	color: #1a8960;
}

.wpdino-quick-link:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.wpdino-quick-link .dashicons {
	color: #1a8960;
}

/* Rating */
.wpdino-rating {
	text-align: center;
	margin: 15px 0;
	padding: 0 30px;
}

.wpdino-rating .dashicons {
	color: #FFD700;
	font-size: 18px;
}

/* Footer */
.wpdino-footer {
	background: #23282d;
	color: #fff;
	padding: 30px 40px;
	font-size: 14px;
}

.wpdino-footer-content {
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpdino-footer a {
	color: #1a8960;
	text-decoration: none;
	font-size: 14px;
}

.wpdino-footer a:hover {
	color: #1a8960;
}
.wpdino-footer p {
	color: #fff;
	font-size: 14px;
}

.wpdino-footer-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.wpdino-footer-right span {
	color: #fff;
	font-size: 14px;
	opacity: 0.6;
}

.wpdino-footer-links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wpdino-footer-social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wpdino-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.wpdino-footer-social a:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #1a8960;
}

.wpdino-footer-social .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.wpdino-main {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px;
	}



	.wpdino-tools {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.wpdino-header {
		padding: 20px;
	}

	.wpdino-header-content {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.wpdino-logo h1 {
		font-size: 28px;
	}

	.wpdino-main {
		padding: 20px 15px;
	}

	.wpdino-field-row {
		grid-template-columns: 1fr;
	}

	/* Tab responsive styles */
	.wpdino-tabs-nav {
		flex-direction: column;
	}

	.wpdino-tab-btn {
		border-bottom: none;
		border-right: 3px solid transparent;
		text-align: left;
		justify-content: flex-start;
		padding: 15px 20px;
	}

	.wpdino-tab-btn.active {
		border-right-color: #1a8960;
		border-bottom: none;
	}

	.wpdino-form-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}

	.wpdino-form-actions-left,
	.wpdino-form-actions-right {
		width: 100%;
		justify-content: center;
	}

	.wpdino-form-footer .wpdino-btn {
		width: 100%;
		justify-content: center;
	}

	.wpdino-footer-content {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.wpdino-settings-wrap {
		margin: 20px -10px 0 -10px;
	}

	.wpdino-header {
		padding: 15px;
	}

	.wpdino-main {
		padding: 15px 10px;
	}

	.wpdino-card {
		border-radius: 8px;
	}

	.wpdino-form,
	.wpdino-card-header,
	.wpdino-tools {
		padding: 20px;
	}

	/* Mobile tab styles */
	.wpdino-tab-content {
		padding: 20px;
	}

	.wpdino-tab-btn {
		padding: 12px 15px;
		font-size: 13px;
	}

	.wpdino-tab-btn .dashicons {
		font-size: 14px;
	}

	/* Mobile tools grid */
	.wpdino-tools-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wpdino-tool-item {
		padding: 20px;
	}


}

/* Loading States */
.wpdino-btn.loading {
	pointer-events: none;
	opacity: 0.7;
}

.wpdino-btn.loading::after {
	content: '';
	width: 16px;
	height: 16px;
	border: 2px solid transparent;
	border-top: 2px solid currentColor;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-left: 8px;
}

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

/* Success/Error States */
.wpdino-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	padding: 12px 16px;
	border-radius: 6px;
	margin: 15px 0;
	position: relative;
}

.wpdino-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 12px 16px;
	border-radius: 6px;
	margin: 15px 0;
	position: relative;
}

/* File Upload */
.wpdino-file-upload {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.wpdino-filename {
	font-size: 13px;
	color: #666;
	font-style: italic;
} 

/* Image Select Field */
.wpdino-image-select-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 15px;
	margin-top: 10px;
}

.wpdino-image-select-option {
	position: relative;
	cursor: pointer;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
	text-align: center;
	transition: all 0.3s ease;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.wpdino-image-select-option:hover {
	border-color: #1a8960;
	box-shadow: 0 2px 8px rgba(111, 156, 80, 0.2);
	transform: translateY(-2px);
}

.wpdino-image-select-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wpdino-image-select-option input[type="radio"]:checked + img {
	border-color: #1a8960;
	box-shadow: 0 0 0 3px rgba(111, 156, 80, 0.2);
}

.wpdino-image-select-option input[type="radio"]:checked ~ .wpdino-image-select-label {
	color: #1a8960;
	font-weight: 600;
}

.wpdino-image-select-option img {
	max-width: 100%;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
	border: 2px solid #f0f0f0;
	transition: all 0.3s ease;
	display: block;
}

.wpdino-image-select-label {
	font-size: 12px;
	font-weight: 500;
	color: #666;
	transition: all 0.3s ease;
	text-align: center;
	line-height: 1.3;
}

.wpdino-image-select-option:has(input[type="radio"]:checked) {
	border-color: #1a8960;
	background: rgba(111, 156, 80, 0.05);
}

/* For older browsers that don't support :has() */
.wpdino-image-select-option.selected {
	border-color: #1a8960;
	background: rgba(111, 156, 80, 0.05);
} 

/* Image Field (File type for images) */
.wpdino-image-field {
	max-width: 400px;
}

.wpdino-image-preview {
	position: relative;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #f9f9f9;
	transition: all 0.3s ease;
}

.wpdino-image-preview:hover {
	border-color: #1a8960;
}

.wpdino-image-preview img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: all 0.3s ease;
}

.wpdino-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
}

.wpdino-image-preview:hover .wpdino-image-overlay {
	opacity: 1;
	pointer-events: all;
}

.wpdino-image-overlay .wpdino-btn {
	min-width: auto;
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.wpdino-btn-small {
	padding: 6px 10px;
	font-size: 11px;
	line-height: 1.3;
}

.wpdino-btn-small .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.wpdino-image-upload-prompt {
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 40px 20px;
	text-align: center;
	background: #fafafa;
	transition: all 0.3s ease;
}

.wpdino-image-upload-prompt:hover {
	border-color: #1a8960;
	background: #f8fffe;
}

.wpdino-upload-icon {
	margin-bottom: 15px;
}

.wpdino-upload-icon .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #ccc;
	transition: color 0.3s ease;
}

.wpdino-image-upload-prompt:hover .wpdino-upload-icon .dashicons {
	color: #1a8960;
}

.wpdino-image-upload-prompt p {
	margin: 0 0 20px 0;
	color: #666;
	font-size: 14px;
}

.wpdino-image-upload-prompt .wpdino-btn {
	margin: 0 auto;
}

/* System Info Styles */
.wpdino-system-info {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	overflow: hidden;
}

.wpdino-system-info-header {
	padding: 15px 20px;
	background: #fff;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpdino-system-info-content {
	width: 100%;
	height: 300px;
	padding: 20px;
	border: none;
	background: #f8f9fa;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	line-height: 1.5;
	color: #333;
	resize: vertical;
	outline: none;
	white-space: pre;
	overflow-wrap: break-word;
}

.wpdino-system-info-content:focus {
	background: #fff;
	box-shadow: 0 0 0 2px rgba(111, 156, 80, 0.2);
}
/* Custom Admin Notices */
.wpdino-admin-notice {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	animation: slideDown 0.3s ease;
	position: relative;
	margin-bottom: 0;
}

.wpdino-admin-notice .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.wpdino-admin-notice-success {
	background-color: #d4edda;
	border-left: 4px solid #1a8960;
	color: #155724;
}

.wpdino-admin-notice-success .dashicons {
	color: #1a8960;
}

.wpdino-admin-notice-error {
	background-color: #f8d7da;
	border-left: 4px solid #dc3545;
	color: #721c24;
}

.wpdino-admin-notice-error .dashicons {
	color: #dc3545;
}

.wpdino-admin-notice-reset {
	background-color: #d1ecf1;
	border-left: 4px solid #0c5460;
	color: #0c5460;
}

.wpdino-admin-notice-reset .dashicons {
	color: #0c5460;
}

.wpdino-admin-notice-warning {
	background-color: #fff3cd;
	border-left: 4px solid #ffc107;
	color: #856404;
	margin: 0;
	border-radius: 0;
}

.wpdino-admin-notice-warning .dashicons {
	color: #ffc107;
}

.wpdino-unsaved-changes-notice {
	position: sticky;
	top: 32px;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wpdino-notice-dismiss {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.wpdino-notice-dismiss:hover {
	opacity: 1;
}

.wpdino-notice-dismiss .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.toplevel_page_dinopack-settings .notice,
.dinopack_page_dinopack-docs .notice,
.toplevel_page_dinopack-settings div.error,
.dinopack_page_dinopack-docs div.error,
.toplevel_page_dinopack-settings div .updated,
.dinopack_page_dinopack-docs div.updated,
.toplevel_page_dinopack-settings div.error,
.dinopack_page_dinopack-docs div.error,
.toplevel_page_dinopack-settings div .updated,
.dinopack_page_dinopack-docs div.updated {
	margin: 5px 0 15px !important;
	margin-right: 20px !important;
}

/* Password Field Toggle */
.wpdino-password-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 45%;
}

.wpdino-field-row .wpdino-password-wrapper {
	max-width: 90%;
}

.wpdino-password-input {
	padding-right: 40px !important;
	width: 100%;
}

.wpdino-password-toggle {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	padding: 4px;
	border-radius: 4px;
	color: #666;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	z-index: 2;
	pointer-events: auto;
}

.wpdino-password-toggle:hover {
	color: #1a8960;
	background: rgba(111, 156, 80, 0.1);
}

.wpdino-password-toggle:focus {
	outline: none;
	color: #1a8960;
	background: rgba(111, 156, 80, 0.1);
	box-shadow: 0 0 0 2px rgba(111, 156, 80, 0.2);
}

.wpdino-password-toggle .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.wpdino-password-toggle.active .dashicons-visibility {
	display: none;
}

.wpdino-password-toggle.active .dashicons-hidden {
	display: inline-block;
}

.wpdino-password-toggle .dashicons-hidden {
	display: none;
}

/* Responsive adjustments for password toggle */
@media (max-width: 768px) {
	.wpdino-password-wrapper {
		max-width: 100%;
	}
	
	.wpdino-field-row .wpdino-password-wrapper {
		max-width: 100%;
	}
}