.tswm-hidden {
	display: none !important;
}

.tswm-page {
	padding: 18px;
}

.tswm-toolbar {
	margin-bottom: 18px;
}

.tswm-search {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 14px;
	padding: 12px 14px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fff;
}

.tswm-state {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 18px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.tswm-spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto 14px;
	border: 4px solid #e8e8e8;
	border-top-color: #111;
	border-radius: 50%;
	animation: tswm-spin .8s linear infinite;
}

@keyframes tswm-spin {
	to { transform: rotate(360deg); }
}

.tswm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tswm-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 14px;
	box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.tswm-category {
	font-size: 11px;
	font-weight: 700;
	color: #2563eb;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.tswm-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	color: #111827;
}

.tswm-details {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

.tswm-status {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
}

.tswm-status-fulfilled {
	color: #15803d;
}

.tswm-status-review {
	color: #dc2626;
}

.tswm-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.tswm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 12px;
	border: none;
	text-decoration: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
}

.tswm-btn-primary {
	background: #2457ff;
	color: #fff;
}

.tswm-btn-dark {
	background: #111;
	color: #fff;
	width: 100%;
}

.tswm-btn-green {
	background: #16a34a;
	color: #fff;
	width: 100%;
}

.tswm-meta {
  margin: 8px 0 10px;
}

.tswm-meta-line {
  margin: 0 0 4px;
  font-size: 13px;
  color: #4b5563;
}

.tswm-meta {
  margin: 8px 0 10px;
}

.tswm-meta-line {
  margin: 0 0 4px;
  font-size: 13px;
  color: #4b5563;
}

.tswm-meta-line strong {
  color: #111827;
}

.tswm-owner-state {
  margin-top: 12px;
}

.tswm-status {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* overlay */
.tswm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* modal box */
.tswm-modal {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* title */
.tswm-modal h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

/* input */
.tswm-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 16px;
}

/* actions */
.tswm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* buttons */
.tswm-btn-light {
  background: #f3f4f6;
  color: #111;
}

.tswm-btn-primary {
  background: #2457ff;
  color: #fff;
}
.tswm-status-sub {
  display: inline-block;
  margin-left: 4px;
  font-weight: 600;
}

.tswm-status-fulfilled {
  color: #15803d;
}

.tswm-status-review {
  color: #dc2626;
}

.tswm-status-pending {
  color: #d97706;
  margin-bottom: 10px;
}

.tswm-meta-line strong {
  color: #111827;
}

.tswm-report {
	margin-top: 10px;
	background: none;
	border: none;
	color: #dc2626;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 767px) {
	.tswm-grid {
		grid-template-columns: 1fr;
	}
}