/* Sheet Drive Notification Styles - Matching VR Integrations */

.sheet-drive-msg {
	font-size: 14px;
	display: none;
	margin-bottom: 24px;
	padding: 16px;
	border-radius: 6px;
}

.sheet-drive-msg.show {
	display: block;
}

.sheet-drive-msg.success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.sheet-drive-msg.success::before {
	content: "✅";
	font-size: 18px;
	flex-shrink: 0;
}

.sheet-drive-msg.error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.sheet-drive-msg.error::before {
	content: "❌";
	font-size: 18px;
	flex-shrink: 0;
}

.sheet-drive-msg.processing {
	background: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.sheet-drive-msg.processing::before {
	content: "⏳";
	font-size: 18px;
	flex-shrink: 0;
}

/* File upload progress bar */
.sheet-drive-progress {
	width: 100%;
	height: 8px;
	background-color: #e9ecef;
	border-radius: 4px;
	margin-top: 8px;
	overflow: hidden;
}

.sheet-drive-progress-bar {
	height: 100%;
	background-color: #28a745;
	border-radius: 4px;
	transition: width 0.3s ease;
	width: 0%;
}

.sheet-drive-progress-text {
	font-size: 12px;
	color: #6c757d;
	margin-top: 4px;
}

/* Animation for processing indicator */
.sheet-drive-msg.processing::before {
	animation: sheet-drive-spin 2s linear infinite;
}

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

/* Ensure messages appear above forms */
.sheet-drive-msg {
	position: relative;
	z-index: 10;
}

/* Style small text within notifications */
.sheet-drive-msg small {
	font-size: 12px;
	opacity: 0.8;
	margin-top: 4px;
	text-align: center;
}

/* Upload helper text below label */
.sheet-drive-upload-desc {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #6c757d;
}

/* Required star */
.sheet-drive-required {
	color: #E51919;
}

/* Hide Forminator's default response messages when Sheet Drive is handling notifications */
.forminator-response-message {
	display: none !important;
}
