/**
* GWS Work Order Detail — Citizenlink Portal
*
* Styles for coreShowFullWorkOrder: subtitle bar, tab strip,
* summary table, section headers, back button, and status badges.
*
* Status badge classes (.gws-status-*) are shared with
* coreGwsCitizenRequests.css — defined here for completeness.
*
* @author PR
* @since 02/24/2026
* @package CITIZENLINK
* @subpackage GWS
*/

/* -------------------------------------------------------
   Subtitle bar (Type — Department: ...)
------------------------------------------------------- */
.gws-wo-subtitle-bar {
	background-color: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin-bottom: 0;
}

/* -------------------------------------------------------
   Tab strip
------------------------------------------------------- */
.gws-wo-tabs {
	display: flex;
	border-bottom: 2px solid #ccc;
	margin-bottom: 0;
	margin-top: 14px;
}

.gws-wo-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	cursor: pointer;
	margin-bottom: -2px;
	transition: color 0.15s, border-color 0.15s;
}

.gws-wo-tab:hover {
	color: #2255aa;
	border-bottom-color: #aac4f0;
}

.gws-wo-tab.gws-wo-tab-active {
	color: #2255aa;
	border-bottom: 3px solid #2255aa;
	font-weight: 600;
}

/* -------------------------------------------------------
   Tab content panels
------------------------------------------------------- */
.gws-wo-tab-content {
	display: none;
	padding: 18px 0 6px 0;
}

.gws-wo-tab-content.gws-wo-tab-active {
	display: block;
}

/* -------------------------------------------------------
   Summary detail table
------------------------------------------------------- */
.gws-wo-detail-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.gws-wo-detail-table td {
	padding: 7px 10px;
	border-bottom: 1px solid #efefef;
	vertical-align: top;
}

.gws-wo-detail-label {
	width: 160px;
	font-weight: 600;
	color: #555;
	text-align: right;
	white-space: nowrap;
	padding-right: 16px !important;
}

.gws-wo-detail-value {
	color: #222;
}

/* -------------------------------------------------------
   Section sub-headers inside Detail / Location / Notes tabs
------------------------------------------------------- */
.gws-wo-section-title {
	font-size: 13px;
	font-weight: 700;
	color: #333;
	margin: 12px 0 6px 0;
	padding-bottom: 4px;
	border-bottom: 1px solid #ddd;
}

/* -------------------------------------------------------
   No-data / not-found messages
------------------------------------------------------- */
.gws-wo-no-data,
.gws-wo-not-found {
	color: #888;
	font-style: italic;
	font-size: 13px;
	padding: 16px 4px;
}

/* -------------------------------------------------------
   Back button row
------------------------------------------------------- */
.gws-wo-back-row {
	margin-top: 20px;
	padding-top: 12px;
	border-top: 1px solid #e8e8e8;
}

.gws-wo-back-btn {
	background: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	color: #444;
	cursor: pointer;
}

.gws-wo-back-btn:hover {
	background: #e8e8e8;
	border-color: #aaa;
}

.gws-wo-back-btn .fa {
	margin-right: 5px;
}

/* -------------------------------------------------------
   Status badges (shared with coreGwsCitizenRequests)
------------------------------------------------------- */
.gws-status-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	border: 1px solid transparent;
}

.gws-status-open {
	background-color: #d4edda;
	color: #155724;
	border-color: #c3e6cb;
}

.gws-status-scheduled {
	background-color: #fff3cd;
	color: #856404;
	border-color: #ffeeba;
}

.gws-status-completed {
	background-color: #cce5ff;
	color: #004085;
	border-color: #b8daff;
}

.gws-status-cancelled {
	background-color: #f8d7da;
	color: #721c24;
	border-color: #f5c6cb;
}

.gws-status-pending {
	background-color: #e2e3e5;
	color: #383d41;
	border-color: #d6d8db;
}
