/**
 * CBS eRecruit Frontend Styles
 *
 * @package CBSERecruit
 */

/* ==== Page Width & Layout ==== */

/* Hide WordPress post title on erecruit pages - we have custom titles */
/* Using :has() selector (supported in 90%+ of browsers) */
.wp-block-group:has(.cbs-frontend-page) .wp-block-post-title,
.wp-block-group:has(.cbs-erecruit-jobs-wrapper) .wp-block-post-title,
.wp-block-group:has(.cbs-erecruit-job-detail) .wp-block-post-title,
.wp-block-group:has(.wrap.cbs-erecruit-user-profile) .wp-block-post-title,
.wp-block-group:has(.cbs-erecruit-edit-profile) .wp-block-post-title,
.wp-block-group:has(.cbs-applications-page) .wp-block-post-title,
.wp-block-group:has(.cbs-jobs-page) .wp-block-post-title,
.wp-block-group:has([class*="cbs-"]) .wp-block-post-title {
	display: none !important;
}

/* Allow pages to use more screen width */
.cbs-erecruit-jobs-wrapper,
.wrap.cbs-erecruit-user-profile {
	max-width: 1400px !important;
	margin: 30px auto !important;
	padding: 0 40px !important;
}

@media (max-width: 768px) {
	.cbs-erecruit-jobs-wrapper,
	.wrap.cbs-erecruit-user-profile {
		padding: 0 20px !important;
	}
}

/* ==== Global Frontend Styles ==== */

/* Page Titles - Consistent across all frontend pages */
.cbs-frontend-page > h1,
.cbs-erecruit-jobs-wrapper > h1,
.cbs-frontend-page .cbs-page-header h1 {
	font-size: 24px !important;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
}

/* Tab Navigation */
.cbs-profile-tabs,
.cbs-tab-navigation {
	display: flex;
	gap: 0;
	margin: 0 0 30px 0;
	border-bottom: 2px solid #e2e8f0;
	flex-wrap: wrap;
}

.cbs-profile-tabs a,
.cbs-tab-navigation a {
	padding: 12px 24px;
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s ease;
	position: relative;
}

.cbs-profile-tabs a:hover,
.cbs-tab-navigation a:hover {
	color: #2563eb;
	background: #f8fafc;
}

.cbs-profile-tabs a.active,
.cbs-tab-navigation a.active {
	color: #2563eb;
	border-bottom-color: #2563eb;
	font-weight: 600;
}

.cbs-profile-tabs a .cbs-badge,
.cbs-tab-navigation a .cbs-badge {
	display: inline-block;
	background: #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 6px;
}

.cbs-profile-tabs a.active .cbs-badge,
.cbs-tab-navigation a.active .cbs-badge {
	background: #dbeafe;
	color: #2563eb;
}

/* WordPress Profile Tab Overrides */
.cbs-erecruit-user-profile .nav-tab-wrapper {
	margin: 24px 0 !important;
	border-bottom: 2px solid #e2e8f0 !important;
	padding: 0 !important;
}

.cbs-erecruit-user-profile .nav-tab {
	padding: 14px 28px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #64748b !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	margin: 0 !important;
	transition: all 0.2s ease !important;
}

.cbs-erecruit-user-profile .nav-tab:hover {
	color: #2563eb !important;
	background: #f8fafc !important;
	border-bottom-color: transparent !important;
}

.cbs-erecruit-user-profile .nav-tab-active,
.cbs-erecruit-user-profile .nav-tab-active:hover {
	color: #2563eb !important;
	background: transparent !important;
	border-bottom-color: #2563eb !important;
	font-weight: 600 !important;
}

.cbs-erecruit-user-profile .nav-tab .count {
	display: inline-block;
	background: #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 6px;
}

.cbs-erecruit-user-profile .nav-tab-active .count {
	background: #dbeafe;
	color: #2563eb;
}

.cbs-erecruit-user-profile .nav-tab .cbs-unread-badge {
	background: #ef4444 !important;
	color: #fff !important;
	padding: 3px 8px !important;
	border-radius: 10px !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	margin-left: 6px !important;
}

/* Section Containers */
.cbs-section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cbs-section h2,
.cbs-section h3 {
	font-size: 16px !important;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.cbs-section h2:last-child,
.cbs-section h3:last-child {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}

/* Info Tables */
.cbs-info-table {
	width: 100%;
	border-collapse: collapse;
}

.cbs-info-table tr {
	border-bottom: 1px solid #f1f5f9;
}

.cbs-info-table tr:last-child {
	border-bottom: none;
}

.cbs-info-table th {
	text-align: left;
	padding: 12px 16px 12px 0;
	font-weight: 600;
	color: #64748b;
	font-size: 13px;
	width: 160px;
	vertical-align: top;
}

.cbs-info-table td {
	padding: 12px 0;
	color: #1e293b;
	font-size: 14px;
}

.cbs-info-table td a {
	color: #2563eb;
	text-decoration: none;
}

.cbs-info-table td a:hover {
	text-decoration: underline;
}

/* Buttons - Consistent styling */
.cbs-btn,
.cbs-button,
button.cbs-btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.cbs-btn-primary {
	background: #2563eb;
	color: #fff;
}

.cbs-btn-primary:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cbs-btn-secondary {
	background: #64748b;
	color: #fff;
}

.cbs-btn-secondary:hover {
	background: #475569;
	color: #fff;
}

.cbs-btn-small {
	padding: 6px 14px;
	font-size: 13px;
}

.cbs-btn-large {
	padding: 12px 28px;
	font-size: 15px;
}

/* Action Links */
.cbs-action-links {
	display: flex;
	gap: 12px;
	align-items: center;
}

.cbs-action-link {
	color: #2563eb;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.cbs-action-link:hover {
	background: #eff6ff;
	text-decoration: none;
}

.cbs-action-link-danger {
	color: #dc2626;
}

.cbs-action-link-danger:hover {
	background: #fef2f2;
}

/* ==== Job Listings ==== */
.cbs-erecruit-jobs-wrapper {
	margin: 30px 0;
}

/* Filters */
.cbs-jobs-filters {
	background: #fff;
	padding: 24px;
	margin-bottom: 30px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cbs-filters-row,
.cbs-jobs-filter-form {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr auto;
	gap: 16px;
	align-items: end;
}

.cbs-filter-group {
	display: flex;
	flex-direction: column;
}

.cbs-filter-input,
.cbs-filter-select,
.cbs-job-search-form input[type="text"],
.cbs-job-search-form select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: #fff;
	color: #1e293b;
	transition: all 0.2s ease;
	appearance: none;
}

.cbs-filter-select,
.cbs-job-search-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	padding-right: 40px;
	cursor: pointer;
}

.cbs-filter-input:hover,
.cbs-filter-select:hover,
.cbs-job-search-form input[type="text"]:hover,
.cbs-job-search-form select:hover {
	border-color: #cbd5e1;
}

.cbs-filter-input:focus,
.cbs-filter-select:focus,
.cbs-job-search-form input[type="text"]:focus,
.cbs-job-search-form select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cbs-filter-input::placeholder,
.cbs-job-search-form input[type="text"]::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.cbs-filter-button {
	padding: 10px 25px;
	background: #3498db;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.3s;
}

.cbs-filter-button:hover {
	background: #2980b9;
}

/* Job Cards */
.cbs-jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.cbs-erecruit-jobs {
	display: grid;
	gap: 20px;
}

.cbs-job-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 16px;
	border-radius: 8px;
	transition: all 0.2s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

.cbs-job-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transform: translateY(-2px);
	border-color: #cbd5e1;
}

.cbs-job-card.cbs-job-featured {
	border-left: 3px solid #f59e0b;
	background: #fffbeb;
}

.cbs-job-card.cbs-job-featured::before {
	content: "Featured";
	position: absolute;
	top: 12px;
	right: 12px;
	background: #fef3c7;
	color: #92400e;
	padding: 3px 8px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cbs-job-card.cbs-job-urgent {
	border-left: 3px solid #ef4444;
}

.cbs-job-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 12px;
}

.cbs-job-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	flex: 1;
	line-height: 1.4;
}

.cbs-job-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s;
}

.cbs-job-title a:hover {
	color: #2563eb;
}

.cbs-job-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	margin-left: 10px;
}

.cbs-badge-featured {
	background: #fff3cd;
	color: #856404;
}

.cbs-badge-urgent {
	background: #f8d7da;
	color: #721c24;
}

.cbs-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
	color: #64748b;
	font-size: 12px;
}

.cbs-job-location,
.cbs-job-type,
.cbs-job-salary,
.cbs-job-meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

.cbs-job-meta .dashicons,
.cbs-job-meta-item .dashicons {
	width: 14px;
	height: 14px;
	font-size: 14px;
}

.cbs-job-description,
.cbs-job-excerpt {
	color: #475569;
	line-height: 1.6;
	margin-bottom: 16px;
	font-size: 13px;
	flex: 1;
	max-height: 60px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.cbs-job-card.expanded .cbs-job-excerpt {
	max-height: none;
	-webkit-line-clamp: unset;
}

.cbs-job-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
	margin-top: auto;
}

.cbs-job-date {
	color: #94a3b8;
	font-size: 11px;
}

.cbs-job-apply-button,
.cbs-job-card .cbs-btn {
	display: inline-block;
	padding: 8px 16px;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	font-size: 13px;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.cbs-job-apply-button:hover,
.cbs-job-card .cbs-btn:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cbs-job-card .cbs-btn-secondary {
	background: #fff;
	color: #2563eb;
	border: 1px solid #2563eb;
}

.cbs-job-card .cbs-btn-secondary:hover {
	background: #eff6ff;
	color: #1d4ed8;
	border-color: #1d4ed8;
}

.cbs-no-jobs {
	text-align: center;
	padding: 60px 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.cbs-no-jobs p {
	color: #6c757d;
	font-size: 16px;
	margin: 0;
}

/* ==== Job Detail Page ==== */
.cbs-erecruit-job-detail {
	max-width: 1400px;
	margin: 30px auto;
	padding: 0 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.cbs-job-detail-header {
	padding: 32px 40px;
	background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
	border-bottom: 1px solid #e2e8f0;
}

.cbs-job-detail-title-section {
	margin-bottom: 24px;
}

.cbs-job-detail-title,
.cbs-job-detail-header h1 {
	margin: 0 0 20px 0;
	font-size: 28px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.cbs-job-actions {
	margin-top: 24px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cbs-job-detail-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cbs-job-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.cbs-job-detail-meta .cbs-meta-item,
.cbs-job-detail-meta .cbs-job-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.cbs-job-detail-meta .cbs-meta-item:hover,
.cbs-job-detail-meta .cbs-job-meta-item:hover {
	background: #fff;
	border-color: #cbd5e1;
	color: #475569;
}

.cbs-job-detail-meta .cbs-meta-item .dashicons,
.cbs-job-detail-meta .cbs-job-meta-item .dashicons {
	color: #64748b;
	width: 16px;
	height: 16px;
	font-size: 16px;
	flex-shrink: 0;
}

.cbs-job-detail-meta .cbs-meta-item:hover .dashicons,
.cbs-job-detail-meta .cbs-job-meta-item:hover .dashicons {
	color: #2563eb;
}

.cbs-job-detail-meta .cbs-meta-item strong,
.cbs-job-detail-meta .cbs-job-meta-item strong {
	display: block;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 2px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cbs-job-detail-content {
	padding: 40px;
}

.cbs-job-section {
	margin-bottom: 36px;
}

.cbs-job-section:last-child {
	margin-bottom: 0;
}

.cbs-job-section h2 {
	margin: 0 0 18px 0;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
	position: relative;
}

.cbs-job-section h2::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60px;
	height: 2px;
	background: #2563eb;
}

.cbs-job-description,
.cbs-job-responsibilities,
.cbs-job-requirements,
.cbs-job-benefits {
	color: #475569;
	line-height: 1.7;
	font-size: 15px;
}

.cbs-job-description p,
.cbs-job-responsibilities p,
.cbs-job-requirements p,
.cbs-job-benefits p {
	margin: 0 0 16px 0;
}

.cbs-job-description p:last-child,
.cbs-job-responsibilities p:last-child,
.cbs-job-requirements p:last-child,
.cbs-job-benefits p:last-child {
	margin-bottom: 0;
}

.cbs-job-description ul,
.cbs-job-responsibilities ul,
.cbs-job-requirements ul,
.cbs-job-benefits ul {
	margin: 0 0 16px 0;
	padding-left: 24px;
	list-style: none;
}

.cbs-job-description ul li,
.cbs-job-responsibilities ul li,
.cbs-job-requirements ul li,
.cbs-job-benefits ul li {
	margin-bottom: 10px;
	position: relative;
	padding-left: 8px;
}

.cbs-job-description ul li::before,
.cbs-job-responsibilities ul li::before,
.cbs-job-requirements ul li::before,
.cbs-job-benefits ul li::before {
	content: '•';
	position: absolute;
	left: -16px;
	color: #2563eb;
	font-weight: 700;
}

.cbs-job-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbs-job-info-list li {
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	gap: 8px;
}

.cbs-job-info-list li:last-child {
	border-bottom: none;
}

.cbs-job-info-list li strong {
	min-width: 160px;
	color: #64748b;
	font-weight: 600;
	font-size: 14px;
}

.cbs-job-detail-actions {
	padding: 24px 40px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.cbs-job-detail-actions .cbs-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.cbs-job-detail-actions .cbs-button-primary {
	background: #2563eb;
	color: #fff;
	border: none;
}

.cbs-job-detail-actions .cbs-button-primary:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cbs-job-detail-actions .cbs-button-secondary {
	background: #fff;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.cbs-job-detail-actions .cbs-button-secondary:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.cbs-job-detail-actions .cbs-button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.cbs-job-detail-footer {
	padding: 16px 40px;
	background: #f8fafc;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}

/* Back to Jobs Link */
.cbs-job-detail-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2563eb;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
	transition: all 0.2s ease;
}

.cbs-job-detail-back:hover {
	color: #1d4ed8;
	gap: 8px;
}

.cbs-job-detail-back .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* ==== Application Form ==== */
.cbs-erecruit-application-form {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	max-width: 800px;
	margin: 30px auto;
}

.cbs-application-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e9ecef;
}

.cbs-application-header h2 {
	margin: 0 0 5px 0;
	color: #2c3e50;
	font-size: 20px;
}

.cbs-job-company {
	color: #6c757d;
	margin: 0;
	font-size: 16px;
}

.cbs-form-section {
	margin-bottom: 35px;
	background: #fff;
	padding: 25px;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.cbs-form-section h2,
.cbs-form-section h3 {
	margin: 0 0 20px 0;
	color: #2c3e50;
	font-size: 16px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9ecef;
}

.cbs-form-col {
	flex: 1;
}

/* Checkbox labels */
.cbs-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.cbs-checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.cbs-notice-success {
	background: #d4edda;
	border-color: #28a745;
	color: #155724;
}

.cbs-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.cbs-form-group {
	margin-bottom: 20px;
}

.cbs-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #2c3e50;
	font-size: 14px;
}

.cbs-form-group label .required {
	color: #e74c3c;
	margin-left: 3px;
}

.cbs-form-group input[type="text"],
.cbs-form-group input[type="email"],
.cbs-form-group input[type="tel"],
.cbs-form-group input[type="url"],
.cbs-form-group input[type="number"],
.cbs-form-group input[type="date"],
.cbs-form-group select,
.cbs-form-group textarea,
.cbs-form-input,
.cbs-form-select,
.cbs-form-textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
	box-sizing: border-box;
}

.cbs-form-group input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
}

.cbs-form-group input:focus,
.cbs-form-group select:focus,
.cbs-form-group textarea:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.cbs-form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.cbs-form-help {
	margin: 8px 0 0 0;
	font-size: 13px;
	color: #6c757d;
	font-style: italic;
}

.cbs-form-actions {
	display: flex;
	gap: 15px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #e9ecef;
}

.cbs-button {
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s;
	text-align: center;
}

.cbs-button-primary {
	background: #3498db;
	color: #fff;
}

.cbs-button-primary:hover {
	background: #2980b9;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.cbs-button-secondary {
	background: #6c757d;
	color: #fff;
}

.cbs-button-secondary:hover {
	background: #5a6268;
	color: #fff;
}

.cbs-button-loading {
	color: #fff;
}

.cbs-form-messages {
	margin-top: 20px;
	padding: 15px;
	border-radius: 4px;
}

.cbs-form-messages.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.cbs-form-messages.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Notices */
.cbs-notice {
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 4px;
	border-left: 4px solid;
}

.cbs-notice p {
	margin: 0;
}

.cbs-notice-warning {
	background: #fff3cd;
	border-color: #ffc107;
	color: #856404;
}

.cbs-notice-error {
	background: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

.cbs-notice-info {
	background: #d1ecf1;
	border-color: #17a2b8;
	color: #0c5460;
}

/* Field Errors */
.cbs-error {
	border-color: #dc3545 !important;
	background-color: #fff5f5;
}

.cbs-field-error {
	display: block;
	color: #dc3545;
	font-size: 13px;
	margin-top: 5px;
	font-weight: 500;
}

/* Notifications */
.cbs-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 20px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 10000;
	max-width: 400px;
	animation: slideInRight 0.3s;
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.cbs-notification-success {
	border-left: 4px solid #28a745;
}

.cbs-notification-error {
	border-left: 4px solid #dc3545;
}

.cbs-notification-info {
	border-left: 4px solid #17a2b8;
}

.cbs-notification p {
	margin: 0;
	color: #2c3e50;
}

/* ==== Landing Page ==== */
.cbs-erecruit-landing-page {
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section */
.cbs-landing-hero {
	background: linear-gradient(135deg, #32373c 0%, #69727d 100%);
	color: #fff;
	padding: 80px 20px;
	text-align: center;
}

.cbs-hero-content {
	max-width: 1200px;
	margin: 0 auto;
}

.cbs-hero-title {
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 20px 0;
	line-height: 1.2;
	color: #fff;
}

.cbs-hero-subtitle {
	font-size: 24px;
	margin: 0 0 40px 0;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;
}

.cbs-hero-actions {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-bottom: 60px;
}

.cbs-btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s;
	border: 2px solid transparent;
}

.cbs-btn-large {
	padding: 15px 40px;
	font-size: 18px;
}

.cbs-btn-primary {
	background: #ff6b35;
	color: #fff;
}

.cbs-btn-primary:hover {
	background: #e55a28;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cbs-btn-secondary {
	background: #6c757d;
	color: #fff;
	border-color: #6c757d;
}

.cbs-btn-secondary:hover {
	background: #5a6268;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Hero Stats */
.cbs-hero-stats {
	display: flex;
	gap: 60px;
	justify-content: center;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cbs-stat-item {
	text-align: center;
}

.cbs-stat-number {
	font-size: 48px;
	font-weight: 700;
	color: #ff6b35;
	margin-bottom: 8px;
}

.cbs-stat-label {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

/* Features Section */
.cbs-landing-features {
	padding: 80px 20px;
	background: #f8f9fa;
}

.cbs-section-title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: #32373c;
	margin: 0 0 60px 0;
}

.cbs-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.cbs-feature-card {
	background: #fff;
	padding: 40px 30px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s;
}

.cbs-feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cbs-feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
}

.cbs-feature-icon .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: #fff;
}

.cbs-feature-card h3 {
	font-size: 22px;
	font-weight: 700;
	color: #32373c;
	margin: 0 0 15px 0;
}

.cbs-feature-card p {
	color: #69727d;
	line-height: 1.6;
	margin: 0;
	font-size: 15px;
}

/* How It Works Section */
.cbs-landing-how-it-works {
	padding: 80px 20px;
	background: #fff;
}

.cbs-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.cbs-step {
	text-align: center;
	position: relative;
}

.cbs-step-number {
	width: 60px;
	height: 60px;
	background: #ff6b35;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	margin: 0 auto 25px;
}

.cbs-step h3 {
	font-size: 24px;
	font-weight: 700;
	color: #32373c;
	margin: 0 0 15px 0;
}

.cbs-step p {
	color: #69727d;
	line-height: 1.6;
	margin: 0;
	font-size: 15px;
}

/* CTA Section */
.cbs-landing-cta {
	padding: 80px 20px;
	background: linear-gradient(135deg, #32373c 0%, #69727d 100%);
	color: #fff;
	text-align: center;
}

.cbs-landing-cta h2 {
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 20px 0;
	color: #fff;
}

.cbs-landing-cta p {
	font-size: 20px;
	margin: 0 0 40px 0;
	color: rgba(255, 255, 255, 0.9);
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
	/* Jobs Grid - Single column on mobile */
	.cbs-jobs-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* Filters - Stack vertically */
	.cbs-filters-row,
	.cbs-jobs-filter-form {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.cbs-filter-button,
	.cbs-job-search-form button {
		width: 100%;
	}

	/* Profile Tabs - Better wrapping */
	.cbs-erecruit-user-profile .nav-tab {
		padding: 12px 16px !important;
		font-size: 13px !important;
	}

	/* Profile Tables - Better mobile view */
	.cbs-erecruit-user-profile .form-table th {
		width: 120px;
		font-size: 12px;
		padding: 12px;
	}

	.cbs-erecruit-user-profile .form-table td {
		font-size: 13px;
		padding: 12px;
	}

	.cbs-erecruit-user-profile .wp-list-table thead th {
		font-size: 11px;
		padding: 12px;
	}

	.cbs-erecruit-user-profile .wp-list-table tbody td {
		font-size: 13px;
		padding: 12px;
	}

	/* Original responsive styles */
	.cbs-jobs-filter-form {
		grid-template-columns: 1fr;
	}

	.cbs-filter-button {
		width: 100%;
	}

	.cbs-form-row {
		grid-template-columns: 1fr;
	}

	.cbs-erecruit-application-form {
		padding: 25px;
	}

	.cbs-job-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.cbs-job-badge {
		margin-left: 0;
		margin-top: 10px;
	}

	.cbs-job-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.cbs-job-apply-button,
	.cbs-job-card .cbs-btn {
		width: 100%;
		text-align: center;
	}

	.cbs-form-actions {
		flex-direction: column;
	}

	.cbs-button {
		width: 100%;
	}

	/* Landing Page Responsive */
	.cbs-hero-title {
		font-size: 32px;
	}

	.cbs-hero-subtitle {
		font-size: 18px;
	}

	.cbs-hero-actions {
		flex-direction: column;
		gap: 15px;
	}

	.cbs-btn-large {
		width: 100%;
		padding: 12px 30px;
		font-size: 16px;
	}

	.cbs-hero-stats {
		flex-direction: column;
		gap: 30px;
	}

	.cbs-stat-number {
		font-size: 36px;
	}

	.cbs-section-title {
		font-size: 28px;
	}

	.cbs-features-grid {
		grid-template-columns: 1fr;
	}

	.cbs-steps {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.cbs-landing-cta h2 {
		font-size: 28px;
	}

	.cbs-landing-cta p {
		font-size: 16px;
	}

	/* Job Detail Responsive */
	.cbs-erecruit-job-detail {
		padding: 0 20px;
		margin: 20px auto;
	}

	.cbs-job-detail-header {
		padding: 24px 20px;
	}

	.cbs-job-detail-title,
	.cbs-job-detail-header h1 {
		font-size: 22px;
		margin: 0 0 16px 0;
	}

	.cbs-job-actions {
		flex-direction: column;
		margin-top: 20px;
	}

	.cbs-job-actions .cbs-btn {
		width: 100%;
		justify-content: center;
	}

	.cbs-job-detail-meta {
		gap: 8px;
	}

	.cbs-job-detail-meta .cbs-meta-item,
	.cbs-job-detail-meta .cbs-job-meta-item {
		font-size: 12px;
		padding: 5px 10px;
	}

	.cbs-job-detail-content {
		padding: 24px 20px;
	}

	.cbs-job-section {
		margin-bottom: 28px;
	}

	.cbs-job-section h2 {
		font-size: 18px;
	}

	.cbs-job-detail-actions {
		padding: 20px;
		flex-direction: column;
		align-items: stretch;
	}

	.cbs-job-detail-actions .cbs-button {
		width: 100%;
		justify-content: center;
	}

	.cbs-job-detail-footer {
		padding: 16px 20px;
	}
}

/* ==== Frontend Pages (My Jobs, My Applications) ==== */
/* ==== Profile Page Table Styling ==== */

/* WordPress form-table (Profile Info sections) */
.cbs-erecruit-user-profile .form-table {
	background: #fff;
	border-collapse: collapse;
	width: 100%;
	margin: 0;
}

.cbs-erecruit-user-profile .form-table tr {
	border-bottom: 1px solid #f1f5f9;
}

.cbs-erecruit-user-profile .form-table tr:last-child {
	border-bottom: none;
}

.cbs-erecruit-user-profile .form-table th {
	padding: 14px 16px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	color: #64748b;
	width: 200px;
	vertical-align: top;
	background: #f8fafc;
}

.cbs-erecruit-user-profile .form-table td {
	padding: 14px 16px;
	font-size: 14px;
	color: #1e293b;
}

.cbs-erecruit-user-profile .form-table td a {
	color: #2563eb;
	text-decoration: none;
}

.cbs-erecruit-user-profile .form-table td a:hover {
	text-decoration: underline;
}

/* WordPress wp-list-table (Applications & Documents) */
.cbs-erecruit-user-profile .wp-list-table {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	width: 100%;
	max-width: 100%;
}

.cbs-erecruit-user-profile .wp-list-table thead {
	background: #f8fafc;
	border-bottom: 2px solid #e2e8f0;
}

.cbs-erecruit-user-profile .wp-list-table thead th {
	padding: 14px 16px;
	font-weight: 600;
	font-size: 13px;
	color: #475569;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: none;
}

.cbs-erecruit-user-profile .wp-list-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.15s ease;
}

.cbs-erecruit-user-profile .wp-list-table tbody tr:last-child {
	border-bottom: none;
}

.cbs-erecruit-user-profile .wp-list-table tbody tr:hover {
	background: #f8fafc;
}

.cbs-erecruit-user-profile .wp-list-table tbody td {
	padding: 16px;
	font-size: 14px;
	color: #1e293b;
	vertical-align: middle;
}

.cbs-erecruit-user-profile .wp-list-table tbody td strong {
	font-weight: 600;
	color: #0f172a;
}

.cbs-erecruit-user-profile .wp-list-table tbody td strong a {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cbs-erecruit-user-profile .wp-list-table tbody td strong a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.cbs-erecruit-user-profile .wp-list-table tbody td small {
	display: block;
	margin-top: 4px;
	color: #64748b;
	font-size: 12px;
}

.cbs-erecruit-user-profile .wp-list-table .button,
.cbs-erecruit-user-profile .wp-list-table .button-small {
	padding: 6px 12px;
	font-size: 12px;
	height: auto;
	line-height: 1.5;
	margin: 0 4px 0 0;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #475569;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.cbs-erecruit-user-profile .wp-list-table .button:hover,
.cbs-erecruit-user-profile .wp-list-table .button-small:hover {
	border-color: #2563eb;
	color: #2563eb;
	background: #eff6ff;
}

.cbs-erecruit-user-profile .wp-list-table .button-primary {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.cbs-erecruit-user-profile .wp-list-table .button-primary:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

.cbs-erecruit-user-profile .wp-list-table .button-link-delete {
	color: #dc2626;
	border-color: #fecaca;
}

.cbs-erecruit-user-profile .wp-list-table .button-link-delete:hover {
	background: #fef2f2;
	border-color: #dc2626;
	color: #dc2626;
}

/* Profile sections */
.cbs-erecruit-user-profile .cbs-profile-section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cbs-erecruit-user-profile .cbs-profile-section h2 {
	margin: 0 0 20px 0;
	padding: 0 0 16px 0;
	border-bottom: 2px solid #e2e8f0;
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

/* Uses WordPress admin table styles (.wp-list-table, .row-actions, .tablenav) */
/* This section provides overrides and additions for frontend-specific styling */

.cbs-frontend-page {
	margin: 30px 0;
	width: 100%;
	max-width: 100%;
}

/* Ensure tables take full width */
.cbs-frontend-page .wp-list-table {
	width: 100%;
	max-width: 100%;
}

.cbs-page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e9ecef;
}

.cbs-page-header h1 {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
}

/* Filter Row */
.cbs-filter-row {
	background: #f8f9fa;
	padding: 20px;
	margin-bottom: 30px;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.cbs-filter-form {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr auto;
	gap: 15px;
	align-items: end;
}

.cbs-filter-actions {
	display: flex;
	gap: 10px;
}

/* Status Badges (Custom styling for job/application statuses) */
.cbs-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.cbs-status-active,
.cbs-status-publish {
	background: #d4edda;
	color: #155724;
}

.cbs-status-pending {
	background: #fff3cd;
	color: #856404;
}

.cbs-status-draft {
	background: #e9ecef;
	color: #495057;
}

.cbs-status-closed,
.cbs-status-rejected {
	background: #f8d7da;
	color: #721c24;
}

.cbs-status-shortlisted {
	background: #d1ecf1;
	color: #0c5460;
}

.cbs-status-interviewed {
	background: #cce5ff;
	color: #004085;
}

.cbs-status-hired {
	background: #d4edda;
	color: #155724;
}

/* Empty State */
.cbs-empty-state {
	text-align: center;
	padding: 60px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 30px 0;
}

.cbs-empty-state .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #adb5bd;
	margin-bottom: 15px;
}

.cbs-empty-state p {
	color: #6c757d;
	font-size: 16px;
	margin: 0 0 20px 0;
}

/* Application Details Page */
.cbs-application-details {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	margin-top: 30px;
}

.cbs-application-section {
	padding: 30px;
	border-bottom: 1px solid #e9ecef;
}

.cbs-application-section:last-child {
	border-bottom: none;
}

.cbs-application-section h2 {
	margin: 0 0 20px 0;
	font-size: 22px;
	font-weight: 700;
	color: #2c3e50;
}

.cbs-info-table {
	width: 100%;
	border-collapse: collapse;
}

.cbs-info-table tr {
	border-bottom: 1px solid #e9ecef;
}

.cbs-info-table tr:last-child {
	border-bottom: none;
}

.cbs-info-table th {
	width: 180px;
	padding: 12px 0;
	text-align: left;
	font-weight: 600;
	color: #2c3e50;
	font-size: 14px;
}

.cbs-info-table td {
	padding: 12px 0;
	color: #495057;
	font-size: 14px;
}

.cbs-cover-letter {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 4px;
	color: #495057;
	line-height: 1.8;
	font-size: 15px;
}

/* Rating Stars */
.cbs-rating {
	display: flex;
	gap: 2px;
}

.cbs-rating .dashicons {
	color: #ffc107;
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.cbs-rating .dashicons-star-empty {
	color: #e9ecef;
}

/* Responsive - Frontend Pages */
@media (max-width: 1024px) {
	.cbs-filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.cbs-filter-form .cbs-filter-group:first-child {
		grid-column: 1 / -1;
	}

	.cbs-filter-actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.cbs-page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.cbs-page-header .cbs-btn {
		width: 100%;
		text-align: center;
	}

	.cbs-filter-form {
		grid-template-columns: 1fr;
	}

	.cbs-filter-group:first-child {
		grid-column: auto;
	}

	.cbs-filter-actions {
		grid-column: auto;
		flex-direction: column;
	}

	.cbs-filter-actions .cbs-btn {
		width: 100%;
	}

	.cbs-application-section {
		padding: 20px;
	}

	.cbs-info-table th {
		width: 120px;
		font-size: 13px;
	}

	.cbs-info-table td {
		font-size: 13px;
	}
}

/* WYSIWYG Editor Wrapper */
.cbs-wysiwyg-wrapper {
	margin-bottom: 20px;
}

.cbs-wysiwyg-wrapper label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #2c3e50;
	font-size: 14px;
}

.cbs-wysiwyg-wrapper label .required {
	color: #e74c3c;
	margin-left: 3px;
}

/* Style the WordPress editor container */
.cbs-wysiwyg-wrapper .wp-editor-container {
	border: 1px solid #ced4da;
	border-radius: 4px;
}

.cbs-wysiwyg-wrapper .wp-editor-container:focus-within {
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Editor toolbar */
.cbs-wysiwyg-wrapper .mce-toolbar-grp {
	background: #f8f9fa;
	border-bottom: 1px solid #ced4da;
}

/* Editor content area */
.cbs-wysiwyg-wrapper .wp-editor-area {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
}

/* Ensure full width on frontend forms */
.cbs-frontend-form .cbs-wysiwyg-wrapper {
	width: 100%;
}

.cbs-frontend-form .cbs-wysiwyg-wrapper .wp-editor-wrap {
	width: 100%;
	max-width: 100%;
}

/* ==== Interview Details ==== */
.cbs-interview-details {
	background: #f8fafc;
	border-left: 4px solid #9333ea;
}

.cbs-interview-details h2 {
	color: #1e293b;
	font-size: 16px;
	font-weight: 600;
}

.cbs-interview-details .cbs-info-table {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}

.cbs-interview-details .cbs-info-table th {
	width: 180px;
	font-weight: 600;
	color: #475569;
	font-size: 13px;
}

.cbs-interview-details .cbs-info-table td {
	color: #1e293b;
	font-size: 14px;
}

.cbs-interview-details .cbs-info-table a {
	color: #2563eb;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cbs-interview-details .cbs-info-table a:hover {
	text-decoration: underline;
}

.cbs-interview-details .dashicons-external {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.cbs-calendar-status {
	margin-top: 16px;
	padding: 12px;
	background: #dcfce7;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
}

.cbs-calendar-status p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #166534;
	font-size: 13px;
	font-weight: 500;
}

.cbs-calendar-status .dashicons {
	color: #16a34a;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.cbs-calendar-status .description {
	color: #15803d;
	font-size: 12px;
	margin-top: 8px;
}

.cbs-calendar-actions {
	margin-top: 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
}

.cbs-calendar-actions p {
	margin: 0 0 12px 0;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
}

.cbs-calendar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ==== Profile & Documents Management ==== */

/* Profile Header */
.cbs-profile-header {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cbs-profile-avatar {
	flex-shrink: 0;
}

.cbs-profile-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e2e8f0;
}

.cbs-profile-info {
	flex: 1;
}

.cbs-profile-name {
	font-size: 20px !important;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 8px 0 !important;
}

.cbs-profile-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
	color: #64748b;
}

.cbs-profile-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cbs-profile-meta-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Documents Table */
.cbs-documents-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.cbs-documents-table thead {
	background: #f8fafc;
}

.cbs-documents-table th {
	text-align: left;
	padding: 12px 16px;
	font-weight: 600;
	color: #475569;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e2e8f0;
}

.cbs-documents-table td {
	padding: 16px;
	border-bottom: 1px solid #f1f5f9;
	color: #1e293b;
	font-size: 14px;
}

.cbs-documents-table tr:hover {
	background: #f8fafc;
}

.cbs-documents-table .cbs-doc-type {
	font-weight: 600;
	color: #64748b;
}

.cbs-documents-table .cbs-doc-badge {
	display: inline-block;
	background: #dbeafe;
	color: #1e40af;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 4px;
}

.cbs-documents-table .cbs-doc-size {
	color: #64748b;
	font-size: 13px;
}

.cbs-documents-table .cbs-doc-date {
	color: #64748b;
	font-size: 13px;
}

.cbs-documents-table .cbs-doc-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.cbs-documents-table .cbs-doc-actions a,
.cbs-documents-table .cbs-doc-actions button {
	color: #2563eb;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
	background: none;
	border: none;
	cursor: pointer;
}

.cbs-documents-table .cbs-doc-actions a:hover,
.cbs-documents-table .cbs-doc-actions button:hover {
	background: #eff6ff;
	text-decoration: none;
}

.cbs-documents-table .cbs-doc-actions .cbs-delete {
	color: #dc2626;
}

.cbs-documents-table .cbs-doc-actions .cbs-delete:hover {
	background: #fef2f2;
}

/* Upload Button */
.cbs-upload-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.cbs-upload-button:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
	color: #fff;
}

.cbs-upload-button .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* Notifications */
.cbs-notification-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #3b82f6;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 16px;
	transition: all 0.2s ease;
}

.cbs-notification-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-left-color: #2563eb;
}

.cbs-notification-item.unread {
	background: #eff6ff;
}

.cbs-notification-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 12px;
	gap: 16px;
}

.cbs-notification-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
}

.cbs-notification-time {
	font-size: 12px;
	color: #94a3b8;
	white-space: nowrap;
}

.cbs-notification-content {
	color: #475569;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 12px;
}

.cbs-notification-actions {
	display: flex;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.cbs-notification-actions button,
.cbs-notification-actions a {
	font-size: 13px;
	padding: 6px 12px;
}

/* Edit Profile Link */
.cbs-edit-profile-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #f8fafc;
	color: #475569;
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease;
}

.cbs-edit-profile-link:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #1e293b;
	text-decoration: none;
}

.cbs-edit-profile-link .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}
