/* Image Resizer — Tool Specific Styles */
/* Inherits base aesthetics from rn-premium-core.css */

.io-frontend-container {
	display: block !important;
	width: 100% !important;
	max-width: 720px;
	margin: 0 auto !important;
	text-align: center !important;
	color: #ffffff;
}

.io-header {
	margin-bottom: 2rem;
	width: 100% !important;
	display: block !important;
}

/* Premium Action Board */
.io-action-board {
	background: #1e1e1e;
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 12px;
	padding: 2.5rem;
	margin-bottom: 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0,0,0,0.3);
	animation: io-slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.io-action-board::before {
	content: '';
	position: absolute;
	top: 0; left: 0; width: 100%; height: 4px;
	background: #3b82f6; 
}

.io-action-title {
	font-size: 1.4rem;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 2rem;
	color: #ffffff;
	letter-spacing: -0.5px;
}

.io-resize-settings {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--aura-border-dim);
}

.io-setting-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.io-setting-group label { color: #aaaa9e !important; 
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--aura-text-muted);
	font-weight: 700;
}

.io-dimension-input {
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--aura-border);
	border-radius: 8px;
	color: #ffffff;
	font-weight: 700;
	min-height: 42px;
	padding: 0.65rem 0.75rem;
	width: 110px;
}

.io-actions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.io-btn-action { color: #ffffff !important; 
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.05);
	background: #2a2a2a;
	color: #ffffff !important;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.io-btn-action:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.25);
	color: #ffffff;
	transform: translateY(-2px);
}

.io-btn-action svg {
	opacity: 0.8;
}

/* Prominent 'All' Button */
.io-btn-all { color: #ffffff !important; 
	grid-column: 1 / -1;
	background: var(--aura-gradient);
	border: none;
	color: #ffffff;
	font-size: 1.15rem;
	padding: 1.25rem;
	font-weight: 700;
	border-radius: 12px;
	box-shadow: 0 8px 25px var(--aura-accent-glow);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.io-btn-all::after {
	content: '';
	position: absolute;
	top: -50%; left: -50%; width: 200%; height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.4s ease;
	pointer-events: none;
}

.io-btn-all:hover::after {
	opacity: 1;
	transform: scale(1);
}

.io-btn-all:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.io-btn-all svg {
	opacity: 1;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.io-upload-icon {
	color: #3b82f6;
}

.io-hidden {
	display: none !important;
}

.io-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 280px;
	padding: 2.5rem;
	margin: 2rem auto;
	border: 2px dashed rgba(59, 130, 246, 0.55);
	border-radius: 12px;
	background: rgba(59, 130, 246, 0.06);
	color: #ffffff;
	cursor: pointer;
	outline: none;
	position: relative;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.io-dropzone > :not(.io-file-input) {
	pointer-events: none;
}

.io-file-input {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
	z-index: 5 !important;
}

.io-dropzone:hover,
.io-dropzone:focus-visible,
.io-dropzone.io-dragover {
	background: rgba(59, 130, 246, 0.12);
	border-color: #60a5fa;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14), 0 18px 45px rgba(0, 0, 0, 0.22);
	transform: translateY(-1px);
}

.io-dropzone-text {
	margin: 0;
	color: #ffffff;
	font-size: 1.15rem;
	font-weight: 700;
}

.io-dropzone-sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
}

.io-drop-status {
	min-height: 1.2em;
	margin: 0;
	color: #93c5fd;
	font-size: 0.85rem;
	font-weight: 600;
}

.io-browse-link { color: #aaaa9e !important; 
	color: #3b82f6;
	cursor: pointer;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.io-actions-grid {
		grid-template-columns: 1fr;
	}
	.io-btn-all { color: #ffffff !important; 
		grid-column: 1;
	}
}

input[type='text'], select, textarea { color: #ffffff !important; }

