/* Main Container */
.wccp-product-fields {
	margin: 30px 0;
	padding: 30px;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wccp-product-fields h3 {
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	border-bottom: 1px solid #f3f4f6;
	padding-bottom: 15px;
	letter-spacing: -0.025em;
}

/* Field Groups */
.wccp-field-group {
	margin-bottom: 24px;
}

.wccp-field-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #374151;
	font-size: 0.95rem;
}

/* Inputs */
.wccp-field-group input[type="text"],
.wccp-field-group input[type="url"],
.wccp-field-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1.5;
	color: #1f2937;
	background-color: #f9fafb;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.wccp-field-group input[type="text"]:focus,
.wccp-field-group input[type="url"]:focus,
.wccp-field-group textarea:focus {
	border-color: #6366f1;
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
	outline: none;
}

/* File Upload Area */
.wccp-file-input-wrapper {
	position: relative;
	width: 100%;
	border: 2px dashed #d1d5db;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	background-color: #f9fafb;
	transition: all 0.2s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.wccp-file-input-wrapper:hover,
.wccp-file-input-wrapper.wccp-drag-over {
	background-color: #eff6ff;
	border-color: #6366f1;
}

.wccp-file-input-wrapper input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 10;
}

.wccp-file-msg {
	font-weight: 500;
	color: #6b7280;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.wccp-file-msg::before {
	content: '';
	display: block;
	width: 32px;
	height: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

/* Preview List */
#wccp-file-preview {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wccp-preview-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 0.9rem;
	color: #374151;
	transition: transform 0.1s ease;
}

.wccp-preview-item:hover {
	border-color: #d1d5db;
	transform: translateY(-1px);
}

.wccp-preview-item span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 85%;
}

.wccp-remove-file {
	cursor: pointer;
	color: #ef4444;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1;
	padding: 0 5px;
	transition: color 0.2s;
}

.wccp-remove-file:hover {
	color: #dc2626;
}

small {
	display: block;
	margin-top: 8px;
	color: #9ca3af;
	font-size: 0.85rem;
}