.ca-auth-wrap {
	max-width: 680px;
	margin: 24px auto;
}

.ca-auth-error {
	background: #fdecea;
	border: 1px solid #f3b3ae;
	border-radius: 8px;
	padding: 12px 16px;
	color: #a30f16;
	margin: 0 0 20px;
}

.ca-auth-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

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

.ca-auth-col {
	background: #f7f7f7;
	border-radius: 10px;
	padding: 20px;
}

.ca-auth-col h3 {
	margin: 0 0 14px;
}

.ca-google-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 16px;
}

.ca-auth-divider {
	position: relative;
	text-align: center;
	margin: 0 0 20px;
}

.ca-auth-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border-top: 1px solid #e5e5e5;
}

.ca-auth-divider span {
	position: relative;
	background: #fff;
	padding: 0 12px;
	color: #999;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.ca-field {
	margin: 0 0 14px;
}

.ca-field label {
	display: block;
	font-weight: 600;
	margin: 0 0 6px;
	font-size: 0.9rem;
}

.ca-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 0.95rem;
}

.ca-field input:focus {
	outline: none;
	border-color: #999;
}

.ca-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.ca-submit-btn {
	display: inline-block;
	padding: 11px 24px;
	border: none;
	border-radius: 6px;
	background: #1a1a1a;
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
}

.ca-submit-btn:hover {
	background: #333;
	color: #fff;
}

.ca-lost-pass {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.85rem;
	color: #666;
}

/* Dashboard */
.ca-dashboard {
	max-width: 760px;
	margin: 0 auto;
	padding: 20px 0 60px;
}

.ca-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 20px;
	font-weight: 600;
}

.ca-logout-link {
	color: #a30f16;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.ca-tabs {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid #e5e5e5;
	margin: 0 0 20px;
	flex-wrap: wrap;
}

.ca-tab {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 16px;
	text-decoration: none;
	color: #666;
	font-weight: 600;
	font-size: 0.92rem;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.ca-tab:hover {
	color: #1a1a1a;
}

.ca-tab.is-active {
	color: #1a1a1a;
	border-bottom-color: #1a1a1a;
}

.ca-tab-count {
	font-weight: 400;
	color: #999;
	font-size: 0.85em;
}

.ca-stats-row {
	display: flex;
	gap: 16px;
	margin: 0 0 24px;
}

.ca-stat {
	flex: 1;
	background: #f7f7f7;
	border-radius: 10px;
	padding: 16px;
	text-align: center;
}

.ca-stat-num {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
}

.ca-stat-label {
	display: block;
	font-size: 0.85rem;
	color: #777;
	margin-top: 4px;
}

.ca-dash-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}

.ca-dash-table th,
.ca-dash-table td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid #eee;
	font-size: 0.92rem;
}

.ca-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.78rem;
	font-weight: 700;
}

.ca-badge-pending {
	background: #fff4e0;
	color: #8a5a00;
}

.ca-badge-approved {
	background: #eafaf0;
	color: #1a5c33;
}

.ca-badge-rejected {
	background: #fdecea;
	color: #a30f16;
}

/* Hides other plugins' "related content" widgets on the account page. */
body.ca-account-page .rpa-widget,
body.ca-account-page .rpa-cq {
	display: none !important;
}
