.tool-container {
	max-width: 1000px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.tool-description {
	color: #666;
	margin-bottom: 2rem;
}

.converter-container {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 2rem;
}

.input-section {
	margin-bottom: 2rem;
}

.audio-input {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.upload-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px dashed #ddd;
	border-radius: 8px;
	padding: 2rem;
	cursor: pointer;
	transition: border-color 0.2s;
}

.upload-area:hover {
	border-color: #007bff;
}

.upload-area i {
	font-size: 2rem;
	color: #666;
	margin-bottom: 1rem;
}

.upload-area p {
	text-align: center;
	color: #666;
	margin-bottom: 0.5rem;
}

.file-info {
	font-size: 0.9rem;
	color: #666;
}

.record-section {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.record-section button {
	flex: 1;
}

.recording-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #666;
}

.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
}

.status-dot.recording {
	background: #dc3545;
}

.options-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.option-group {
	margin-bottom: 1rem;
}

.option-group label {
	display: block;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.5rem;
}

.option-group select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	background: #fff;
}

.checkbox-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.checkbox-group label {
	cursor: pointer;
	user-select: none;
}

.action-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 4px;
	background: #007bff;
	color: white;
	cursor: pointer;
	transition: background 0.2s;
}

.action-btn:hover {
	background: #0056b3;
}

.action-btn.primary {
	width: 100%;
	justify-content: center;
	font-size: 1.1rem;
	background: #6610f2;
}

.action-btn.primary:hover {
	background: #520dc2;
}

.action-btn.primary:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.output-section {
	border-top: 1px solid #eee;
	padding-top: 2rem;
}

.output-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.output-header h3 {
	margin: 0;
	font-size: 1.25rem;
}

.confidence-score {
	color: #666;
	font-size: 0.9rem;
}

.transcription-text {
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1.5rem;
	min-height: 200px;
	margin-bottom: 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
	white-space: pre-wrap;
}

.transcription-text:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.output-actions {
	display: flex;
	gap: 1rem;
}

@media (max-width: 768px) {
	.audio-input {
		grid-template-columns: 1fr;
	}
	
	.options-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.output-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.output-actions {
		flex-direction: column;
	}
	
	.action-btn {
		width: 100%;
		justify-content: center;
	}
}