/* Generic Form Styles */
.form-section {
	/* Add any section-specific styling here if needed */
}

.form-toggle-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 2px solid #374151;
	border-radius: 4px;
	padding: 0.75rem 1rem;
	background: #1f2937;
	background: transparent;
	color: #f9fafb;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: var(--font-size);
	font-family: var(--font-family);
}

.form-toggle-btn:hover {
	background: #111827;
	border-color: #4b5563;
	color: #ffffff;
}

.form-icon {
	flex-shrink: 0;
	color: #d1d5db;
	transition: color 0.2s ease;
}

.form-toggle-btn:hover .form-icon {
	color: #ffffff;
}

.form-text {
	font-weight: 500;
	font-size: var(--font-size);
	font-family: var(--font-family);
}

.form-container {
	margin-top: 1rem;
	opacity: 1;
	max-height: 1000px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.form-container.hidden {
	opacity: 0;
	max-height: 0;
	margin-top: 0;
}

.form-group {
	margin-bottom: 1rem;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid var(--border-color);
	background: transparent;
	color: #d1d5db;
	border-radius: 0.5rem;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	font-size: var(--font-size);
	font-family: var(--font-family);
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: #9ca3af;
}

.form-textarea {
	min-height: 200px;
	resize: vertical;
}

.form-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
	justify-content: center;
}

.submit-btn,
.cancel-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	font-size: var(--font-size);
	font-family: var(--font-family);
}

.submit-btn {
	background: #6366f1;
	color: white;
}

.submit-btn:hover {
	background: #5855eb;
}

.cancel-btn {
	background: transparent;
	color: #9ca3af;
	border: 1px solid #374151;
}

.cancel-btn:hover {
	background: #1f2937;
	color: #d1d5db;
}

.hidden {
	display: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
	.form-actions {
		flex-direction: column;
	}
	
	.submit-btn,
	.cancel-btn {
		width: 100%;
	}
}
