/**
* Core GWS Request Account Styles
*
* Styling for the GWS citizenlink self-registration form
*
* @author PR
* @since 02/18/2026
* @package CITIZENLINK
* @subpackage GWS
*/

/* -------------------------------------------------------
   Intro info box (grey with green left border)
------------------------------------------------------- */
.adg-jqu-sectiontext.account-setup-information-1 {
	background: #f5f5f5 !important;
	border-left: 4px solid #5cb85c !important;
	padding: 10px 14px !important;
	margin: 0 0 16px 0 !important;
	border-radius: 0 !important;
	font-weight: normal !important;
	font-size: 13px !important;
	color: #333 !important;
}

/* -------------------------------------------------------
   Section header bars (light grey, like the mockup)
------------------------------------------------------- */
.adg-jqu-sectiontext.gws-section-header {
	background-color: #e8e8e8 !important;
	color: #333 !important;
	font-size: 13px !important;
	font-weight: bold !important;
	padding: 6px 10px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: block !important;
	box-sizing: border-box !important;
	border: none !important;
	border-bottom: 1px solid #ccc !important;
}

.text-and-button.gws-section-header-row {
	display: block !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 10px 0 0 0 !important;
	padding: 0 !important;
	clear: both;
	overflow: hidden;
}

.text-and-button.gws-section-header-row .text-and-button-text {
	float: none !important;
	width: 100% !important;
}

.text-and-button.gws-section-header-row .text-and-button-button {
	display: none !important;
}

/* -------------------------------------------------------
   Form field rows — hide button column, normalize layout
------------------------------------------------------- */
#coreGwsRequestAccountForm .text-and-button {
	margin-bottom: 4px;
	overflow: hidden;
	clear: both;
}

#coreGwsRequestAccountForm .text-and-button-button {
	display: none !important;
}

#coreGwsRequestAccountForm .text-and-button-text {
	float: none !important;
	width: 100% !important;
	white-space: normal !important;
	min-height: 0 !important;
}

/* -------------------------------------------------------
   Table-rendered fields: label right-aligned on left,
   input on right — matching the mockup layout
------------------------------------------------------- */
#coreGwsRequestAccountForm .text-and-button-text table {
	width: 100% !important;
	border-collapse: collapse !important;
	table-layout: fixed !important;
}

#coreGwsRequestAccountForm .text-and-button-text table td {
	padding: 4px 6px !important;
	vertical-align: middle !important;
	white-space: nowrap;
}

/* Label column: fixed width, right-aligned */
#coreGwsRequestAccountForm .text-and-button-text table td:first-child {
	width: 175px !important;
	text-align: right !important;
	font-weight: normal !important;
	font-size: 13px !important;
	color: #333 !important;
}

/* Input column: takes remaining space */
#coreGwsRequestAccountForm .text-and-button-text table td:last-child {
	width: auto !important;
	text-align: left !important;
}

/* -------------------------------------------------------
   All inputs — consistent sizing
------------------------------------------------------- */
#coreGwsRequestAccountForm input[type="text"],
#coreGwsRequestAccountForm input[type="email"],
#coreGwsRequestAccountForm input[type="tel"],
#coreGwsRequestAccountForm input[type="password"] {
	width: 200px !important;
	padding: 3px 6px !important;
	border: 1px solid #aaa !important;
	border-radius: 2px !important;
	font-size: 13px !important;
	box-sizing: border-box !important;
	background: #fff !important;
}

#coreGwsRequestAccountForm input[type="text"]:focus,
#coreGwsRequestAccountForm input[type="email"]:focus,
#coreGwsRequestAccountForm input[type="tel"]:focus,
#coreGwsRequestAccountForm input[type="password"]:focus {
	outline: none;
	border-color: #66afe9 !important;
	box-shadow: 0 0 4px rgba(102, 175, 233, 0.5);
}

/* Override any width class forcing smaller/larger size */
#coreGwsRequestAccountForm .bind-text-300 {
	width: 200px !important;
}

/* -------------------------------------------------------
   Button row (Create Account + Cancel)
------------------------------------------------------- */
#coreGwsRequestAccountForm .gws-button-row {
	margin-top: 12px;
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding-left: 175px;
}

.gws-cancel-btn {
	padding: 5px 14px;
	background-color: #fff;
	color: #333;
	border: 1px solid #aaa;
	border-radius: 3px;
	font-size: 13px;
	cursor: pointer;
}

.gws-cancel-btn:hover {
	background-color: #f0f0f0;
}

/* -------------------------------------------------------
   Success / Confirmation messages
------------------------------------------------------- */
.registration-success {
	padding: 30px;
	text-align: center;
}

.registration-success h3 {
	color: #5cb85c;
	margin: 20px 0 10px 0;
}

.confirmation-result {
	padding: 30px;
	text-align: center;
}

.confirmation-result h3 {
	color: #5cb85c;
	margin: 20px 0 10px 0;
}

.confirmation-success i {
	color: #5cb85c;
	font-size: 48px;
	margin-bottom: 10px;
}
