/* Fisiomap Soporte — páginas frontend */

.fs-wrap {
	max-width: 860px;
	margin: 0 auto;
	font-size: 15px;
}

.fs-box {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fs-auth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
@media (max-width: 640px) {
	.fs-auth-grid { grid-template-columns: 1fr; }
}

.fs-wrap input[type="text"],
.fs-wrap input[type="email"],
.fs-wrap input[type="password"],
.fs-wrap select,
.fs-wrap textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 15px;
}

.fs-btn {
	display: inline-block;
	background: var(--fs-primary, #0a7d6c);
	color: #fff !important;
	border: none;
	border-radius: 8px;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none !important;
}
.fs-btn:hover { opacity: 0.9; }

.fs-notice {
	background: #f3f4f6;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.fs-notice-error { background: #fee2e2; color: #991b1b; }
.fs-notice-ok    { background: #d1fae5; color: #065f46; }

.fs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.fs-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.fs-table th, .fs-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid #f0f0f1;
}
.fs-table th { background: #f9fafb; font-weight: 600; }

.fs-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	background: #f3f4f6;
	color: #374151;
	white-space: nowrap;
}
.fs-badge-abierto           { background: #fee2e2; color: #991b1b; }
.fs-badge-en-curso          { background: #fef3c7; color: #92400e; }
.fs-badge-esperando-cliente { background: #dbeafe; color: #1e40af; }
.fs-badge-resuelto          { background: #d1fae5; color: #065f46; }
.fs-badge-cerrado           { background: #e5e7eb; color: #4b5563; }

.fs-thread-front { display: flex; flex-direction: column; gap: 12px; }
.fs-msg {
	border-radius: 12px;
	padding: 14px 18px;
	border: 1px solid #e5e7eb;
	background: #fff;
}
.fs-msg-agent {
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.fs-msg-meta {
	font-size: 12.5px;
	color: #6b7280;
	margin-bottom: 6px;
	font-weight: 600;
}
.fs-msg p:last-child { margin-bottom: 0; }
