/* Chat PDF Export Styles - Vereinfachte Buttons */
.chat-export-container {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
		margin: 15px 0;
}

/* Alignment */
.chat-export-align-left {
		justify-content: flex-start;
}

.chat-export-align-center {
		justify-content: center;
}

.chat-export-align-right {
		justify-content: flex-end;
}

/* Button Base Styles */
.chat-export-btn {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 18px;
		border: none;
		border-radius: 6px;
		cursor: pointer;
		font-size: 14px;
		font-weight: 500;
		text-decoration: none;
		transition: all 0.3s ease;
		box-shadow: none;
		min-height: 44px;
}

.chat-export-btn:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
		text-decoration: none;
}

.chat-export-btn:active {
		transform: translateY(0);
}

.chat-export-btn:disabled {
		opacity: 0.6;
		cursor: not-allowed;
		transform: none;
}

.chat-export-btn svg {
		flex-shrink: 0;
}

/* Button Variants */
.chat-pdf-btn {
		background: #a2b935;
		color: white;
}

.chat-pdf-btn:hover {
		color: white;
}

.chat-print-btn {
		background: #4d8eaa;
		color: white;
}

.chat-print-btn:hover {
		color: white;
}

/* Sizes */
.chat-export-size-small .chat-export-btn {
		padding: 8px 12px;
		font-size: 12px;
		min-height: 36px;
}

.chat-export-size-small .chat-export-btn svg {
		width: 14px;
		height: 14px;
}

.chat-export-size-normal .chat-export-btn {
		padding: 12px 18px;
		font-size: 14px;
		min-height: 44px;
}

.chat-export-size-large .chat-export-btn {
		padding: 16px 24px;
		font-size: 16px;
		min-height: 52px;
}

.chat-export-size-large .chat-export-btn svg {
		width: 18px;
		height: 18px;
}

/* Styles */
.chat-export-style-minimal .chat-pdf-btn {
		background: #f8f9fa;
		color: #495057;
		border: 1px solid #dee2e6;
		box-shadow: none;
}

.chat-export-style-minimal .chat-pdf-btn:hover {
		background: #e9ecef;
		color: #495057;
}

.chat-export-style-minimal .chat-print-btn {
		background: #f8f9fa;
		color: #28a745;
		border: 1px solid #28a745;
		box-shadow: none;
}

.chat-export-style-minimal .chat-print-btn:hover {
		background: #28a745;
		color: white;
}

.chat-export-style-rounded .chat-export-btn {
		border-radius: 25px;
		padding-left: 24px;
		padding-right: 24px;
}

/* Loading States */
.loading-spinner {
		animation: spin 1s linear infinite;
}

@keyframes spin {
		from { transform: rotate(0deg); }
		to { transform: rotate(360deg); }
}

/* Status Messages */
.export-status {
		width: 100%;
		margin-top: 10px;
		padding: 12px 16px;
		border-radius: 6px;
		font-size: 14px;
		font-weight: 500;
}

.export-status.success {
		background-color: #d4edda;
		color: #155724;
		border: 1px solid #c3e6cb;
}

.export-status.error {
		background-color: #f8d7da;
		color: #721c24;
		border: 1px solid #f5c6cb;
}

/* No Permission Message */
.chat-export-no-permission {
		color: #dc3545;
		background-color: #f8d7da;
		border: 1px solid #f5c6cb;
		border-radius: 6px;
		padding: 12px 16px;
		margin: 15px 0;
		font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
		.chat-export-container {
				flex-direction: column;
				align-items: center;
		}
		
		.chat-export-btn {
				width: 100%;
				justify-content: center;
				max-width: 280px;
		}
}

@media (max-width: 480px) {
		.chat-export-size-normal .chat-export-btn,
		.chat-export-size-large .chat-export-btn {
				padding: 12px 16px;
				font-size: 14px;
		}
		
		.chat-export-btn .button-text {
				display: none;
		}
		
		.chat-export-btn {
				width: auto;
				min-width: 50px;
				justify-content: center;
		}
		
		.chat-export-container {
				flex-direction: row;
				justify-content: center;
		}
}

/* Print Styles */
@media print {
		.chat-export-container,
		.chat-export-btn,
		.export-status {
				display: none !important;
		}
}

/* Focus States für Accessibility */
.chat-export-btn:focus {
		outline: 2px solid #667eea;
		outline-offset: 2px;
}

.chat-print-btn:focus {
		outline: 2px solid #28a745;
		outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
		.chat-export-btn {
				border: 2px solid currentColor;
		}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
		.chat-export-btn {
				transition: none;
		}
		
		.loading-spinner {
				animation: none;
		}
}