/* =============================================
   WC Prof Cosmetologist – Frontend Styles
   ============================================= */

/* Show Prices Button */
.wc-prof-restricted-wrapper {
	text-align: left;
	padding: 8px 0;
}

.wc-prof-show-prices-btn {
	display: inline-block !important;
	background-color: #1a1a2e !important;
	color: #fff !important;
	border: none !important;
	border-radius: 3px !important;
	padding: 10px 24px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	line-height: 1 !important;
	fill: #fff !important;
}

.wc-prof-show-prices-btn:hover {
	background-color: #2d2d4e !important;
	color: #fff !important;
}

.wc-prof-restricted-subtitle {
	font-size: 11px;
	color: #888;
	margin-top: 8px !important;
	line-height: 1.4;
	max-width: 320px;
}

/* Modal Overlay */
.wc-prof-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-prof-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
}

.wc-prof-modal-content {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 36px 32px 28px;
	max-width: 460px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	animation: wcProfFadeIn 0.25s ease;
}

@keyframes wcProfFadeIn {
	from { opacity: 0; transform: scale(0.95) translateY(10px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wc-prof-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	line-height: 1;
	padding: 0;
	transition: color 0.2s;
}

.wc-prof-modal-close:hover {
	color: #333;
}

.wc-prof-modal-content h3 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}

.wc-prof-modal-content p {
	color: #555;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 10px;
}

.wc-prof-modal-formats {
	font-size: 12px !important;
	color: #999 !important;
}

.wc-prof-modal-info {
	background: #FEF3C7;
	border-left: 4px solid #F59E0B;
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #92400E;
}

#wc-prof-upload-form {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#wc-prof-upload-form input[type="file"] {
	border: 2px dashed #d1d5db;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s;
}

#wc-prof-upload-form input[type="file"]:hover {
	border-color: #8B5CF6;
}

.wc-prof-upload-submit {
	background: linear-gradient(135deg, #8B5CF6, #A78BFA) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 20px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.3s !important;
}

.wc-prof-upload-submit:hover {
	background: linear-gradient(135deg, #7C3AED, #8B5CF6) !important;
}

.wc-prof-upload-submit:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.wc-prof-modal-existing {
	margin-top: 14px;
	font-size: 13px;
	color: #6B7280;
}

.wc-prof-modal-existing a {
	color: #8B5CF6;
	text-decoration: underline;
}

#wc-prof-upload-result {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
}

#wc-prof-upload-result.success {
	background: #D1FAE5;
	color: #065F46;
	border-left: 4px solid #10B981;
}

#wc-prof-upload-result.error {
	background: #FEE2E2;
	color: #991B1B;
	border-left: 4px solid #EF4444;
}
