/* ============================================
   Meeha News — Correspondent system
   Application form, My Account news dashboard, tabs, news list
============================================ */

.meeha-correspondent-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #E6E6E2;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
	resize: vertical;
	margin-top: 4px;
}

.meeha-correspondent-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* ============================================
   Dashboard shell - widens past .meeha-account-page's 420px limit on
   larger screens (if :has() is supported); the table scrolls on its own
   otherwise (see below), so it never breaks.
============================================ */
.meeha-account-page:has( .meeha-correspondent-dashboard ) {
	max-width: 900px;
}

.meeha-correspondent-dashboard {
	font-family: 'Hind Siliguri', sans-serif;
}

.meeha-correspondent-dashboard h2 {
	font-family: 'Baloo Da 2', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #14171F;
	margin: 0 0 16px;
}

.meeha-correspondent-dashboard__title {
	font-family: 'Hind Siliguri', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #146356;
}

/* ============================================
   Tabs
============================================ */
.meeha-correspondent-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid #E6E6E2;
	margin-bottom: 18px;
}

.meeha-correspondent-tab {
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #565A66;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.meeha-correspondent-tab:hover {
	color: #146356;
}

.meeha-correspondent-tab.is-active {
	color: #146356;
	border-bottom-color: #146356;
}

/* ============================================
   News list table
============================================ */
.meeha-correspondent-news-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	display: block;
	overflow-x: auto; /* scrolls instead of breaking on narrow screens */
	white-space: nowrap;
}

.meeha-correspondent-news-table tr {
	border-bottom: 1px solid #E6E6E2;
}

.meeha-correspondent-news-table td {
	padding: 10px 12px;
	color: #14171F;
}

.meeha-correspondent-news-table__title {
	font-weight: 600;
	white-space: normal;
	min-width: 220px;
}

.meeha-correspondent-news-table__title a {
	color: #14171F;
	text-decoration: none;
}
.meeha-correspondent-news-table__title a:hover {
	color: #146356;
}

.meeha-correspondent-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}
.meeha-correspondent-status--publish {
	background: #E7F3EF;
	color: #146356;
}
.meeha-correspondent-status--pending,
.meeha-correspondent-status--draft,
.meeha-correspondent-status--future {
	background: #FBEFE9;
	color: #B33B2E;
}

/* ============================================
   "New News" tab
============================================ */
.meeha-correspondent-submit-btn {
	display: inline-block;
	text-decoration: none;
	text-align: center;
}

.meeha-correspondent-submit-form {
	max-width: 100%;
}
