/**
 * Admin Data Export/Import Styles
 *
 * Styles for the data export and import page.
 *
 * @package    Karate_Club_Manager
 * @subpackage Karate_Club_Manager/assets/css
 * @since      1.0.265
 */

/* Page Layout */
.macm-data-page {
	max-width: 1200px;
}

.macm-data-content {
	background: #fff;
	border: 1px solid #D1D5DB;
	border-top: none;
	padding: 20px;
}

/* Tab Icons */
.macm-data-page .nav-tab .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	vertical-align: middle;
}

/* Description Section */
.macm-data-description {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #D1D5DB;
}

.macm-data-description h2 {
	margin: 0 0 10px 0;
	font-size: 1.3em;
}

.macm-data-description p {
	margin: 0;
	color: #6B7280;
}

/* Form Sections */
.macm-form-section {
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #F4F4F2;
}

.macm-form-section:last-of-type {
	border-bottom: none;
}

.macm-form-section h3 {
	margin: 0 0 15px 0;
	font-size: 1.1em;
}

/* Format Options */
.macm-format-options {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.macm-format-option {
	flex: 1;
	min-width: 280px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border: 2px solid #D1D5DB;
	border-radius: 8px;
	padding: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.macm-format-option:hover {
	border-color: #B11226;
	background: #F4F4F2;
}

.macm-format-option:has(input[type="radio"]:checked) {
	border-color: #B11226;
	background: #f0f6fc;
	box-shadow: 0 0 0 1px #B11226;
}

.macm-format-option input[type="radio"] {
	margin: 4px 0 0 0;
	flex-shrink: 0;
}

.macm-format-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f0fe 100%);
	border-radius: 8px;
}

.macm-format-icon .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: #B11226;
}

.macm-format-option:has(input[type="radio"]:checked) .macm-format-icon {
	background: linear-gradient(135deg, #B11226 0%, #8F0E1E 100%);
}

.macm-format-option:has(input[type="radio"]:checked) .macm-format-icon .dashicons {
	color: #fff;
}

.macm-format-label {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.macm-format-label strong {
	font-size: 14px;
	color: #111827;
}

.macm-format-desc {
	font-size: 12px;
	color: #6B7280;
	margin-top: 4px;
	line-height: 1.4;
}

/* Select Actions */
.macm-select-actions {
	display: flex;
	gap: 8px;
}

.macm-select-actions .button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.macm-select-actions .button .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

/* Section Header with Actions */
.macm-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.macm-section-header h3 {
	margin: 0;
}

/* Entity Section - Two Column Layout */
.macm-entity-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.macm-entity-section .macm-section-header {
	grid-column: 1 / -1;
}

/* Entity Groups */
.macm-entity-group {
	margin-bottom: 0;
	background: #fff;
	border: 1px solid #D1D5DB;
	border-radius: 10px;
	padding: 20px;
}

.macm-group-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #B11226;
}

.macm-entity-group.premium .macm-group-header {
	border-bottom-color: #B11226;
}

.macm-group-header h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	display: flex;
	align-items: center;
	gap: 8px;
}

.macm-group-header h4 .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #B11226;
}

.macm-group-header h4 .macm-premium-star {
	color: #B11226;
}

.macm-group-count {
	font-size: 11px;
	color: #6B7280;
	background: #F4F4F2;
	padding: 4px 10px;
	border-radius: 10px;
}

/* Entity Grid */
.macm-entity-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Entity Cards */
label.macm-entity-card,
.macm-entity-card {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 12px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	box-sizing: border-box;
}

.macm-entity-card .macm-card-checkbox,
.macm-entity-card .macm-card-icon {
	display: inline-flex !important;
	flex-shrink: 0 !important;
	align-items: center;
	justify-content: center;
}

.macm-entity-card .macm-card-content {
	display: inline-block !important;
	flex: 1 1 auto !important;
	min-width: 0;
}

.macm-entity-card:hover {
	border-color: #B11226;
	box-shadow: 0 2px 8px rgba(177, 18, 38, 0.12);
	transform: translateY(-1px);
}

.macm-entity-card.macm-entity-locked {
	opacity: 0.65;
	cursor: not-allowed;
	background: #F4F4F2;
}

.macm-entity-card.macm-entity-locked:hover {
	border-color: #D1D5DB;
	box-shadow: none;
	transform: none;
}

/* Custom Checkbox */
.macm-card-checkbox {
	position: relative;
	flex-shrink: 0 !important;
	display: inline-flex !important;
	width: 20px;
	height: 20px;
}

.macm-card-checkbox input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.macm-checkbox-custom {
	display: block;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 2px solid #D1D5DB;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.macm-card-checkbox input[type="checkbox"]:checked + .macm-checkbox-custom {
	background: #B11226;
	border-color: #B11226;
}

.macm-card-checkbox input[type="checkbox"]:checked + .macm-checkbox-custom::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.macm-entity-card:hover .macm-checkbox-custom {
	border-color: #B11226;
}

/* Card Icon */
.macm-card-icon {
	flex-shrink: 0 !important;
	width: 36px;
	height: 36px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f0fe 100%);
	border-radius: 6px;
}

.macm-card-icon .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #B11226;
}

.macm-entity-group.premium .macm-card-icon {
	background: linear-gradient(135deg, #fde8ea 0%, #fde8ea 100%);
}

.macm-entity-group.premium .macm-card-icon .dashicons {
	color: #B11226;
}

/* Premium group border accent */
.macm-entity-group.premium {
	border-color: #f0d0d4;
}

/* Card Content */
.macm-card-content {
	flex: 1;
	min-width: 0;
}

.macm-card-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 13px;
	color: #111827;
	margin-bottom: 4px;
}

.macm-lock-icon {
	font-size: 12px !important;
	width: 12px !important;
	height: 12px !important;
	color: #dba617;
}

.macm-card-desc {
	display: block;
	font-size: 12px;
	color: #6B7280;
	line-height: 1.4;
}

/* Selected State */
.macm-entity-card:has(input[type="checkbox"]:checked) {
	border-color: #B11226;
	background: #f0f6fc;
}

.macm-entity-card:has(input[type="checkbox"]:checked) .macm-card-icon {
	background: linear-gradient(135deg, #B11226 0%, #8F0E1E 100%);
}

.macm-entity-card:has(input[type="checkbox"]:checked) .macm-card-icon .dashicons {
	color: #fff;
}

/* Legacy Entity List (fallback) */
.macm-entity-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px;
}

/* Legacy Entity Checkboxes (fallback) */
.macm-entity-checkbox {
	display: flex;
	align-items: flex-start;
	padding: 12px;
	background: #fff;
	border: 1px solid #D1D5DB;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.macm-entity-checkbox:hover {
	border-color: #B11226;
	background: #f0f6fc;
}

.macm-entity-checkbox.macm-entity-locked {
	opacity: 0.6;
	cursor: not-allowed;
	background: #F4F4F2;
}

.macm-entity-checkbox.macm-entity-locked:hover {
	border-color: #D1D5DB;
	background: #F4F4F2;
}

.macm-entity-checkbox input[type="checkbox"] {
	margin: 2px 10px 0 0;
	flex-shrink: 0;
}

.macm-entity-info {
	display: flex;
	flex-direction: column;
}

.macm-entity-name {
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 5px;
}

.macm-entity-name .dashicons-lock {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #dba617;
}

.macm-entity-desc {
	font-size: 12px;
	color: #6B7280;
	margin-top: 3px;
}

/* Form Actions */
.macm-form-actions {
	text-align: center;
	padding-top: 10px;
}

.macm-export-btn,
.macm-import-btn {
	min-width: 200px;
}

.macm-export-btn .dashicons,
.macm-import-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: middle;
}

/* File Upload */
.macm-file-upload {
	position: relative;
}

.macm-file-upload input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.macm-file-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	border: 2px dashed #D1D5DB;
	border-radius: 4px;
	background: #F4F4F2;
	cursor: pointer;
	transition: all 0.2s ease;
}

.macm-file-label:hover,
.macm-file-upload.dragover .macm-file-label {
	border-color: #B11226;
	background: #f0f6fc;
}

.macm-file-label .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #D1D5DB;
	margin-bottom: 10px;
}

.macm-file-text {
	font-size: 14px;
	color: #6B7280;
}

.macm-file-info {
	margin-top: 10px;
	font-size: 12px;
	color: #6B7280;
}

/* Selected Files List (Multiple File Upload) */
.macm-selected-files {
	margin-top: 20px;
	padding: 15px;
	background: #fff;
	border: 1px solid #c5d9ed;
	border-radius: 4px;
}

.macm-selected-files h4 {
	margin: 0 0 12px 0;
	font-size: 13px;
	color: #111827;
}

.macm-file-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.macm-file-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #F4F4F2;
	border: 1px solid #D1D5DB;
	border-radius: 4px;
	margin-bottom: 8px;
}

.macm-file-item:last-child {
	margin-bottom: 0;
}

.macm-file-item .dashicons {
	color: #B11226;
	flex-shrink: 0;
}

.macm-file-item .dashicons-media-code {
	color: #996800;
}

.macm-file-item .dashicons-media-spreadsheet {
	color: #00a32a;
}

.macm-file-name {
	flex: 1;
	font-weight: 500;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.macm-file-size {
	font-size: 12px;
	color: #6B7280;
	flex-shrink: 0;
}

.macm-remove-file {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.macm-remove-file:hover {
	background: #fef7f7;
}

.macm-remove-file .dashicons {
	color: #d63638;
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.macm-clear-files {
	margin-top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.macm-clear-files .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

/* File Preview */
.macm-file-preview {
	margin-top: 20px;
	padding: 15px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 4px;
}

.macm-file-preview h4 {
	margin: 0 0 10px 0;
}

.macm-preview-content {
	font-size: 13px;
}

.macm-preview-content .macm-preview-item {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px solid #c5d9ed;
}

.macm-preview-content .macm-preview-item:last-child {
	border-bottom: none;
}

/* ==========================================================================
   IMPORT TAB - NEW CARD-BASED LAYOUT
   ========================================================================== */

/* Import Options Grid - Two Column Layout */
.macm-import-options-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 30px;
}

/* Options Card Container */
.macm-options-card {
	background: #fff;
	border: 1px solid #D1D5DB;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 0 !important;
	border-bottom: none !important;
}

.macm-options-card h3 {
	margin: 0 0 4px 0 !important;
}

/* Options Header with Icon */
.macm-options-header {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #B11226;
}

.macm-options-header > .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #B11226;
	flex-shrink: 0;
	margin-top: 2px;
}

.macm-options-header .description {
	margin: 0;
	font-size: 12px;
	color: #6B7280;
}

/* Option Cards Container */
.macm-option-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Individual Option Card */
label.macm-option-card,
.macm-option-card {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px;
	padding: 14px 16px;
	background: #F4F4F2;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.macm-option-card:hover {
	border-color: #B11226;
	background: #f0f6fc;
}

.macm-option-card:has(input[type="radio"]:checked) {
	border-color: #B11226;
	background: #f0f6fc;
	box-shadow: 0 0 0 1px #B11226;
}

/* Hide native radio */
.macm-option-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

/* Custom Radio Button */
.macm-option-radio {
	display: inline-flex !important;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 2px solid #D1D5DB;
	border-radius: 50%;
	background: #fff;
	position: relative;
	transition: all 0.15s ease;
}

.macm-option-card:hover .macm-option-radio {
	border-color: #B11226;
}

.macm-option-card:has(input[type="radio"]:checked) .macm-option-radio {
	border-color: #B11226;
	background: #B11226;
}

.macm-option-card:has(input[type="radio"]:checked) .macm-option-radio::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
}

/* Option Icon */
.macm-option-icon {
	display: inline-flex !important;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f0fe 100%);
	border-radius: 6px;
}

.macm-option-icon .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #B11226;
}

.macm-option-card:has(input[type="radio"]:checked) .macm-option-icon {
	background: linear-gradient(135deg, #B11226 0%, #8F0E1E 100%);
}

.macm-option-card:has(input[type="radio"]:checked) .macm-option-icon .dashicons {
	color: #fff;
}

/* Option Content */
.macm-option-content {
	display: flex !important;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.macm-option-content strong {
	font-size: 13px;
	color: #111827;
	margin-bottom: 2px;
}

.macm-option-desc {
	font-size: 12px;
	color: #6B7280;
	line-height: 1.4;
}

/* Legacy User Mapping Options (fallback) */
.macm-user-mapping-options,
.macm-conflict-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.macm-mapping-option,
.macm-conflict-option {
	display: flex;
	align-items: flex-start;
	padding: 12px 15px;
	background: #F4F4F2;
	border: 2px solid #D1D5DB;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.macm-mapping-option:hover,
.macm-conflict-option:hover {
	border-color: #B11226;
	background: #f0f6fc;
}

.macm-mapping-option input[type="radio"],
.macm-conflict-option input[type="radio"] {
	margin: 2px 12px 0 0;
	flex-shrink: 0;
}

.macm-mapping-option input[type="radio"]:checked ~ .macm-mapping-label,
.macm-conflict-option input[type="radio"]:checked ~ .macm-conflict-label {
	color: #B11226;
}

.macm-mapping-label,
.macm-conflict-label {
	display: flex;
	flex-direction: column;
}

.macm-mapping-desc,
.macm-conflict-desc {
	font-size: 12px;
	color: #6B7280;
	margin-top: 3px;
}

/* Progress Bar */
.macm-import-progress {
	background: #F4F4F2;
	padding: 20px;
	border-radius: 4px;
}

.macm-progress-bar {
	height: 20px;
	background: #D1D5DB;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}

.macm-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #B11226, #8F0E1E);
	border-radius: 10px;
	transition: width 0.3s ease;
}

.macm-progress-status {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #6B7280;
}

.macm-progress-log {
	margin-top: 15px;
	max-height: 150px;
	overflow-y: auto;
	font-size: 12px;
	font-family: monospace;
	background: #fff;
	padding: 10px;
	border: 1px solid #D1D5DB;
	border-radius: 4px;
}

.macm-progress-log .log-item {
	padding: 2px 0;
}

.macm-progress-log .log-success {
	color: #00a32a;
}

.macm-progress-log .log-error {
	color: #d63638;
}

.macm-progress-log .log-warning {
	color: #dba617;
}

/* Import Results */
.macm-import-results {
	background: #F4F4F2;
	padding: 20px;
	border-radius: 4px;
}

.macm-results-content table {
	width: 100%;
	border-collapse: collapse;
}

.macm-results-content th,
.macm-results-content td {
	padding: 8px 12px;
	text-align: left;
	border-bottom: 1px solid #D1D5DB;
}

.macm-results-content th {
	background: #fff;
	font-weight: 600;
}

.macm-results-success {
	color: #00a32a;
}

.macm-results-error {
	color: #d63638;
}

/* Import Warning */
.macm-import-warning {
	margin-top: 20px;
	padding: 12px 15px;
	background: #fcf9e8;
	border: 1px solid #dba617;
	border-radius: 4px;
	font-size: 13px;
	color: #996800;
}

.macm-import-warning .dashicons {
	color: #dba617;
	margin-right: 5px;
	vertical-align: middle;
}

/* ==========================================================================
   RESET TAB STYLES
   ========================================================================== */

/* Reset Section Container */
.macm-reset-section {
	max-width: 700px;
}

/* Warning Header */
.macm-reset-warning-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #d63638;
}

.macm-reset-warning-header .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #d63638;
}

.macm-reset-warning-header h2 {
	margin: 0;
	color: #d63638;
	font-size: 1.4em;
}

/* Warning Box */
.macm-reset-warning-box {
	background: linear-gradient(135deg, #fef7f7 0%, #fff5f5 100%);
	border: 2px solid #d63638;
	border-radius: 8px;
	padding: 25px;
	margin-bottom: 25px;
}

.macm-reset-warning-box h3 {
	margin: 0 0 15px 0;
	font-size: 1.2em;
	color: #111827;
}

.macm-reset-description {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: #6B7280;
}

/* Reset List */
.macm-reset-list {
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
}

.macm-reset-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #fce4e4;
	font-size: 13px;
	color: #6B7280;
}

.macm-reset-list li:last-child {
	border-bottom: none;
}

.macm-reset-list .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #d63638;
}

/* Cannot Undo Alert */
.macm-reset-alert {
	background: #d63638;
	color: #fff;
	padding: 15px 20px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.macm-reset-alert .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

/* Export Suggestion */
.macm-reset-suggestion {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-left: 4px solid #B11226;
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 30px;
}

.macm-reset-suggestion .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #B11226;
	flex-shrink: 0;
	margin-top: 2px;
}

.macm-suggestion-content {
	flex: 1;
}

.macm-suggestion-content strong {
	display: block;
	margin-bottom: 5px;
	color: #111827;
}

.macm-suggestion-content p {
	margin: 0;
	font-size: 13px;
	color: #6B7280;
}

.macm-suggestion-content a {
	font-weight: 600;
}

/* Reset Action Area */
.macm-reset-action {
	text-align: center;
	padding: 30px;
	background: #F4F4F2;
	border-radius: 8px;
	margin-bottom: 20px;
}

/* Reset Button */
.macm-reset-button {
	background: linear-gradient(135deg, #d63638 0%, #a61e20 100%) !important;
	border: none !important;
	color: #fff !important;
	padding: 15px 40px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(214, 54, 56, 0.3);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: auto !important;
	line-height: 1.4 !important;
}

.macm-reset-button:hover {
	background: linear-gradient(135deg, #a61e20 0%, #8a1a1c 100%) !important;
	box-shadow: 0 6px 20px rgba(214, 54, 56, 0.4);
	transform: translateY(-2px);
}

.macm-reset-button:active {
	transform: translateY(0);
}

.macm-reset-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.macm-reset-button .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

/* Spinning animation for loading state */
.macm-reset-button .dashicons.spin {
	animation: macm-spin 1s linear infinite;
}

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

.macm-reset-hint {
	margin: 15px 0 0 0;
	font-size: 12px;
	color: #6B7280;
}

/* Reset Progress */
.macm-reset-progress {
	background: #F4F4F2;
	padding: 25px;
	border-radius: 8px;
	margin-top: 20px;
}

/* Reset Results */
.macm-reset-results {
	text-align: center;
	padding: 30px;
	border-radius: 8px;
	margin-top: 20px;
}

.macm-reset-results.success {
	background: #edfaef;
	border: 2px solid #00a32a;
}

.macm-reset-results.error {
	background: #fef7f7;
	border: 2px solid #d63638;
}

.macm-results-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.macm-reset-results.success .macm-results-icon::before {
	content: "\f147";
	font-family: dashicons;
	color: #00a32a;
}

.macm-reset-results.error .macm-results-icon::before {
	content: "\f153";
	font-family: dashicons;
	color: #d63638;
}

.macm-results-message {
	font-size: 16px;
	font-weight: 500;
}

.macm-reset-results.success .macm-results-message {
	color: #00a32a;
}

.macm-reset-results.error .macm-results-message {
	color: #d63638;
}

/* Reset Tab Icon Color */
.macm-data-page .nav-tab .dashicons-trash {
	color: #d63638;
}

/* Export/Import Info Notices */
.macm-export-notice,
.macm-import-notice {
	margin: 0 0 20px 0;
	padding: 12px 16px;
	display: flex;
	align-items: flex-start;
}

.macm-export-notice p,
.macm-import-notice p {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.macm-export-notice .dashicons,
.macm-import-notice .dashicons {
	flex-shrink: 0;
	margin-top: 2px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
	.macm-entity-section,
	.macm-import-options-grid {
		grid-template-columns: 1fr;
	}

	.macm-entity-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	}
}

@media screen and (max-width: 782px) {
	.macm-format-options {
		flex-direction: column;
	}

	.macm-format-option {
		min-width: auto;
	}

	.macm-entity-grid,
	.macm-entity-list {
		grid-template-columns: 1fr;
	}

	.macm-section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.macm-group-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.macm-entity-card {
		flex-wrap: wrap;
	}

	.macm-reset-suggestion {
		flex-direction: column;
	}

	.macm-reset-button {
		width: 100%;
		justify-content: center;
	}
}

@media screen and (max-width: 480px) {
	.macm-entity-card {
		padding: 12px;
	}

	.macm-card-icon {
		width: 32px;
		height: 32px;
	}

	.macm-card-icon .dashicons {
		font-size: 16px;
		width: 16px;
		height: 16px;
	}
}
