/**
 * Recruiter Pro Frontend Styles
 *
 * @package RecruiterPro
 */

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

/* Hide WordPress post title on recruiter pro pages - we have custom titles */
/* The title is redundant since our shortcodes render their own */
.wp-block-post-title:has(~ .entry-content [class*="rp-"]),
.wp-block-post-title:has(~ .wp-block-post-content [class*="rp-"]) {
	display: none !important;
}

/* Override WordPress inline styles for spacing - need !important because WP uses inline styles */
main.wp-block-group:has(.wrap.rp-frontend-page),
main.wp-block-group:has(.wrap.rp-dashboard) {
	margin-top: 20px !important;
}

.wp-block-group:has(.wrap.rp-frontend-page),
.wp-block-group:has(.wrap.rp-dashboard) {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

/* Unified frontend page container styling */
.wrap.rp-frontend-page,
.wrap.rp-dashboard {
	max-width: 95%;
	margin: 20px auto;
	padding: 0 20px;
}

@media (max-width: 768px) {
	.wrap.rp-frontend-page,
	.wrap.rp-dashboard {
		padding: 0 15px;
	}
}

/* Dashboard header with button alignment */
.rp-dashboard__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e5e5e5;
}

.rp-dashboard__header .button {
	margin-left: auto;
}

.rp-dashboard__title {
	margin: 0 0 10px !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	flex-basis: 100%;
	line-height: 1.3 !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.rp-dashboard__subtitle {
	margin: 0 !important;
	font-size: 14px !important;
	color: #64748b !important;
	flex-basis: 100%;
	line-height: 1.5 !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.rp-dashboard__title {
		font-size: 22px !important;
	}

	.rp-dashboard__subtitle {
		font-size: 13px !important;
	}
}

/* Button styling for frontend pages */
.rp-frontend-page .button {
	display: inline-block;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	border: 1px solid #2271b1;
	border-radius: 3px;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	white-space: nowrap;
}

.rp-frontend-page .button:hover {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.rp-frontend-page .button.button-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.rp-frontend-page .button.button-primary:hover {
	background: #135e96;
	border-color: #135e96;
}

.rp-frontend-page .button.button-secondary {
	background: #fff;
	border-color: #2271b1;
	color: #2271b1;
}

.rp-frontend-page .button.button-secondary:hover {
	background: #f6f7f7;
	border-color: #135e96;
	color: #135e96;
}

.rp-frontend-page .button.button-small {
	padding: 4px 10px;
	font-size: 12px;
}

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

/* Page Titles - No longer needed, using .rp-dashboard__title instead */

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

.rp-profile-tabs a,
.rp-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;
}

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

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

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

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

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

.rp-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;
}

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

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

.rp-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;
}

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

.rp-user-profile .nav-tab .rp-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 */
.rp-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);
}

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

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

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

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

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

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

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

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

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

/* Buttons - Consistent styling */
.rp-btn,
.rp-button,
button.rp-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Filters */
.rp-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);
}

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

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

.rp-filter-input,
.rp-filter-select,
.rp-job-search-form input[type="text"],
.rp-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;
}

.rp-filter-select,
.rp-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;
}

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

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

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

.rp-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;
}

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

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

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

.rp-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;
}

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

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

.rp-job-card.rp-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;
}

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

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

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

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

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

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

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

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

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

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

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

.rp-job-description,
.rp-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;
}

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

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

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

.rp-job-apply-button,
.rp-job-card .rp-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;
}

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

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

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

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

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

/* ==== Job Detail Page ==== */
.rp-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;
}

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

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

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

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

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

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

.rp-job-detail-meta .rp-meta-item,
.rp-job-detail-meta .rp-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;
}

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

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

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

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

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

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

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

.rp-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

.rp-job-detail-actions .rp-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;
}

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

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

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

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

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

.rp-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 */
.rp-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;
}

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

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

/* ==== Application Form ==== */
.rp-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;
}

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

.rp-application-header h2 {
	margin: 0 0 10px 0;
	color: #1e293b;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.rp-application-subtitle {
	margin: 0;
	color: #64748b;
	font-size: 16px;
	line-height: 1.5;
}

/* File Information Display */
.rp-existing-resume-info {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	font-size: 14px;
}

.rp-existing-resume-info .dashicons {
	color: #2563eb;
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.rp-file-name {
	color: #1e293b;
	font-weight: 500;
}

.rp-file-size,
.rp-file-date {
	color: #64748b;
	font-size: 13px;
}

/* Additional Documents Section */
.rp-section-description {
	margin: 0 0 20px 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.6;
}

.rp-no-documents {
	color: #94a3b8;
	font-size: 14px;
	font-style: italic;
	margin: 10px 0;
}

.rp-section-label {
	margin: 20px 0 12px 0;
	color: #475569;
	font-size: 14px;
}

.rp-section-label strong {
	font-weight: 600;
	color: #1e293b;
}

/* Document Checklist Items */
.rp-doc-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rp-doc-name {
	color: #1e293b;
	font-size: 14px;
	font-weight: 500;
}

.rp-doc-meta {
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
}

.rp-doc-filename {
	color: #64748b;
}

.rp-doc-size {
	color: #94a3b8;
}

/* Profile Completion Form Header */
.rp-profile-completion-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e9ecef;
}

.rp-profile-completion-header h2 {
	margin: 0 0 10px 0;
	color: #1e293b;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.rp-subtitle {
	margin: 0;
	color: #64748b;
	font-size: 16px;
	line-height: 1.5;
}

/* File Preview Containers */
.rp-file-preview {
	margin-top: 12px;
}

.rp-image-preview {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 15px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	align-items: flex-start;
}

.rp-image-preview img {
	max-width: 200px;
	max-height: 200px;
	border-radius: 6px;
	border: 2px solid #e2e8f0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rp-image-preview .rp-file-info {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 500;
}

.rp-file-preview-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-top: 10px;
}

.rp-file-preview-item .dashicons {
	color: #2563eb;
	font-size: 20px;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.rp-file-preview-item .rp-file-name {
	color: #1e293b;
	font-size: 14px;
	font-weight: 500;
	flex: 1;
	word-break: break-word;
}

.rp-file-preview-item .rp-file-size {
	color: #64748b;
	font-size: 13px;
	white-space: nowrap;
}

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

.rp-form-section {
	margin-bottom: 30px;
	background: #f9f9f9;
	padding: 25px;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.rp-form-section h2,
.rp-form-section h3 {
	margin: 0 0 20px 0;
	color: #1e293b;
	font-size: 18px;
	font-weight: 600;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
}

.rp-form-section .required {
	color: #d63638;
	font-weight: bold;
}

.rp-form-section .form-table {
	background: transparent;
	margin-top: 0;
}

.rp-form-section .form-table th {
	width: 220px;
	padding: 15px 10px 15px 0;
	font-weight: 500;
	color: #1e293b;
	vertical-align: top;
	padding-top: 18px;
}

.rp-form-section .form-table td {
	padding: 15px 0;
}

.rp-form-section .form-table input[type="text"],
.rp-form-section .form-table input[type="email"],
.rp-form-section .form-table input[type="tel"],
.rp-form-section .form-table input[type="url"],
.rp-form-section .form-table input[type="date"],
.rp-form-section .form-table input[type="number"],
.rp-form-section .form-table select,
.rp-form-section .form-table textarea {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
	width: 100%;
	max-width: 500px;
}

.rp-form-section .form-table input:focus,
.rp-form-section .form-table select:focus,
.rp-form-section .form-table textarea:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.rp-form-section .form-table input:disabled,
.rp-form-section .form-table input[readonly] {
	background: #e2e8f0;
	color: #64748b;
	cursor: not-allowed;
}

.rp-form-section .form-table .description {
	margin: 6px 0 0 0;
	color: #64748b;
	font-size: 13px;
	font-style: normal;
}

.rp-form-section .submit {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	gap: 10px;
	align-items: center;
}

.rp-form-section .submit .button {
	margin: 0;
}

.rp-form-section .submit .button-large {
	padding: 10px 24px;
	font-size: 14px;
	height: auto;
	line-height: 1.5;
}

/* Profile form specific styling */
.rp-profile-form {
	max-width: 900px;
}

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

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

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

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

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

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

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

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

.rp-form-group input[type="text"],
.rp-form-group input[type="email"],
.rp-form-group input[type="tel"],
.rp-form-group input[type="url"],
.rp-form-group input[type="number"],
.rp-form-group input[type="date"],
.rp-form-group input[type="password"],
.rp-form-group select,
.rp-form-group textarea,
.rp-form-input,
.rp-form-select,
.rp-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;
}

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

/* Specific styling for password fields in registration */
#reg_password,
#reg_password_confirm {
	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;
}

#reg_password:focus,
#reg_password_confirm:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

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

.rp-form-help {
	display: block;
	margin: 6px 0 0 0;
	font-size: 12px;
	color: #94a3b8;
	font-style: italic;
	line-height: 1.4;
}

/* File Input Styling */
.rp-form-group input[type="file"],
input[type="file"].rp-file-input {
	display: block;
	width: 100%;
	padding: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #1e293b;
	background-color: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.rp-form-group input[type="file"]:hover,
input[type="file"].rp-file-input:hover {
	border-color: #2563eb;
}

.rp-form-group input[type="file"]:focus,
input[type="file"].rp-file-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* File input button (browse button) styling */
.rp-form-group input[type="file"]::file-selector-button,
input[type="file"].rp-file-input::file-selector-button {
	padding: 8px 16px;
	margin-right: 12px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.rp-form-group input[type="file"]::file-selector-button:hover,
input[type="file"].rp-file-input::file-selector-button:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

/* Disabled file input styling */
.rp-form-group input[type="file"]:disabled,
input[type="file"].rp-file-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f1f5f9;
}

.rp-form-group input[type="file"]:disabled::file-selector-button,
input[type="file"].rp-file-input:disabled::file-selector-button {
	background: #94a3b8;
	cursor: not-allowed;
	pointer-events: none;
}

.rp-form-group input[type="file"]:disabled::file-selector-button:hover,
input[type="file"].rp-file-input:disabled::file-selector-button:hover {
	background: #94a3b8;
	transform: none;
}

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

.rp-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;
}

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

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

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

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

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

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

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

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

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

.rp-notice p {
	margin: 0;
}

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

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

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

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

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

/* Notifications */
.rp-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;
	}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Hero Stats */
.rp-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);
}

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

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

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

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

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

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

.rp-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;
}

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

.rp-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;
}

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

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

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

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

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

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

.rp-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;
}

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

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

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

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

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

/* ==== Frontend Tables (My Applications, My Jobs) ==== */

/* Table container styling */
.rp-dashboard-table,
.rp-frontend-page .wp-list-table,
#rp-jobs-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 24px;
}

/* Table header styling */
.rp-dashboard-table thead,
.rp-frontend-page .wp-list-table thead,
#rp-jobs-table thead {
	background: #f8fafc;
	border-bottom: 2px solid #e2e8f0;
}

.rp-dashboard-table th,
.rp-frontend-page .wp-list-table th,
#rp-jobs-table th {
	text-align: left;
	padding: 16px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e2e8f0;
	white-space: nowrap;
}

/* Table row styling */
.rp-dashboard-table tbody tr,
.rp-frontend-page .wp-list-table tbody tr,
#rp-jobs-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.15s ease;
}

.rp-dashboard-table tbody tr:last-child,
.rp-frontend-page .wp-list-table tbody tr:last-child,
#rp-jobs-table tbody tr:last-child {
	border-bottom: none;
}

.rp-dashboard-table tbody tr:hover,
.rp-frontend-page .wp-list-table tbody tr:hover,
#rp-jobs-table tbody tr:hover {
	background: #f8fafc;
}

/* Table cell styling */
.rp-dashboard-table td,
.rp-frontend-page .wp-list-table td,
#rp-jobs-table td {
	padding: 16px;
	font-size: 14px;
	color: #1e293b;
	vertical-align: middle;
}

/* Job/application title and links */
.rp-dashboard-table td strong,
.rp-frontend-page .wp-list-table td strong,
#rp-jobs-table td strong {
	font-weight: 600;
	color: #0f172a;
	display: block;
	margin-bottom: 4px;
}

.rp-dashboard-table td strong a,
.rp-frontend-page .wp-list-table td strong a,
#rp-jobs-table td strong a {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rp-dashboard-table td strong a:hover,
.rp-frontend-page .wp-list-table td strong a:hover,
#rp-jobs-table td strong a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* Row actions */
.rp-dashboard-table .row-actions,
.rp-frontend-page .wp-list-table .row-actions,
#rp-jobs-table .row-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.rp-dashboard-table .row-actions a,
.rp-frontend-page .wp-list-table .row-actions a,
#rp-jobs-table .row-actions a {
	color: #64748b;
	text-decoration: none;
	font-size: 13px;
	padding: 2px 6px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.rp-dashboard-table .row-actions a:hover,
.rp-frontend-page .wp-list-table .row-actions a:hover,
#rp-jobs-table .row-actions a:hover {
	background: #eff6ff;
	color: #2563eb;
	text-decoration: none;
}

.rp-dashboard-table .row-actions .delete,
.rp-frontend-page .wp-list-table .row-actions .delete,
#rp-jobs-table .row-actions .delete {
	color: #dc2626;
}

.rp-dashboard-table .row-actions .delete:hover,
.rp-frontend-page .wp-list-table .row-actions .delete:hover,
#rp-jobs-table .row-actions .delete:hover {
	background: #fef2f2;
	color: #dc2626;
}

/* Status badges */
.rp-dashboard-table .rp-status,
.rp-frontend-page .rp-status,
#rp-jobs-table .rp-status {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

/* Status colors - Applications */
.rp-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.rp-status-reviewing {
	background: #dbeafe;
	color: #1e40af;
}

.rp-status-shortlisted {
	background: #e0e7ff;
	color: #3730a3;
}

.rp-status-interviewed {
	background: #ddd6fe;
	color: #5b21b6;
}

.rp-status-offered {
	background: #d1fae5;
	color: #065f46;
}

.rp-status-accepted {
	background: #d1fae5;
	color: #065f46;
}

.rp-status-rejected {
	background: #fee2e2;
	color: #991b1b;
}

.rp-status-withdrawn {
	background: #f3f4f6;
	color: #374151;
}

/* Status colors - Jobs */
.rp-status-draft {
	background: #f3f4f6;
	color: #374151;
}

.rp-status-publish,
.rp-status-active {
	background: #d1fae5;
	color: #065f46;
}

.rp-status-closed {
	background: #fee2e2;
	color: #991b1b;
}

/* Job badges */
.rp-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-left: 8px;
}

.rp-badge-featured {
	background: #fef3c7;
	color: #92400e;
}

.rp-badge-urgent {
	background: #fee2e2;
	color: #991b1b;
}

/* Action buttons in table cells */
.rp-dashboard-table .button,
.rp-dashboard-table .button-small,
.rp-frontend-page .button,
.rp-frontend-page .button-small,
#rp-jobs-table .button,
#rp-jobs-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;
	text-decoration: none;
	display: inline-block;
}

.rp-dashboard-table .button:hover,
.rp-dashboard-table .button-small:hover,
.rp-frontend-page .button:hover,
.rp-frontend-page .button-small:hover,
#rp-jobs-table .button:hover,
#rp-jobs-table .button-small:hover {
	border-color: #2563eb;
	color: #2563eb;
	background: #eff6ff;
}

.rp-dashboard-table .button-primary,
.rp-frontend-page .button-primary,
#rp-jobs-table .button-primary {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.rp-dashboard-table .button-primary:hover,
.rp-frontend-page .button-primary:hover,
#rp-jobs-table .button-primary:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

/* Links in table cells */
.rp-dashboard-table td a:not(.button):not(.row-actions a),
.rp-frontend-page .wp-list-table td a:not(.button):not(.row-actions a),
#rp-jobs-table td a:not(.button):not(.row-actions a) {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rp-dashboard-table td a:not(.button):not(.row-actions a):hover,
.rp-frontend-page .wp-list-table td a:not(.button):not(.row-actions a):hover,
#rp-jobs-table td a:not(.button):not(.row-actions a):hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* Empty table state */
.rp-dashboard-table tbody tr.no-items td,
.rp-frontend-page .wp-list-table tbody tr.no-items td,
#rp-jobs-table tbody tr.no-items td {
	text-align: center;
	padding: 40px 20px;
	color: #64748b;
	font-size: 14px;
}

/* Table pagination styling */
.rp-frontend-page .tablenav {
	padding: 16px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rp-frontend-page .tablenav-pages {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rp-frontend-page .tablenav-pages .pagination-links {
	display: flex;
	gap: 4px;
}

.rp-frontend-page .tablenav-pages .pagination-links a,
.rp-frontend-page .tablenav-pages .pagination-links span {
	padding: 6px 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #475569;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.2s ease;
}

.rp-frontend-page .tablenav-pages .pagination-links a:hover {
	border-color: #2563eb;
	color: #2563eb;
	background: #eff6ff;
}

.rp-frontend-page .tablenav-pages .pagination-links .current {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
	/* Table responsive styles */
	.rp-dashboard-table th,
	.rp-dashboard-table td,
	.rp-frontend-page .wp-list-table th,
	.rp-frontend-page .wp-list-table td,
	#rp-jobs-table th,
	#rp-jobs-table td {
		padding: 12px 8px;
		font-size: 13px;
	}

	.rp-dashboard-table th,
	.rp-frontend-page .wp-list-table th,
	#rp-jobs-table th {
		font-size: 11px;
	}

	.rp-dashboard-table .row-actions,
	.rp-frontend-page .wp-list-table .row-actions,
	#rp-jobs-table .row-actions {
		flex-direction: column;
		gap: 4px;
	}

	.rp-status {
		font-size: 11px;
		padding: 4px 8px;
	}

	.rp-badge {
		display: block;
		margin: 4px 0 0 0;
		width: fit-content;
	}

	/* Form sections - Better mobile layout */
	.rp-form-section {
		padding: 20px 15px;
	}

	.rp-form-section h2,
	.rp-form-section h3 {
		font-size: 16px;
	}

	.rp-form-section .form-table {
		display: block;
	}

	.rp-form-section .form-table tbody,
	.rp-form-section .form-table tr {
		display: block;
	}

	.rp-form-section .form-table th,
	.rp-form-section .form-table td {
		display: block;
		width: 100%;
		padding: 8px 0;
	}

	.rp-form-section .form-table th {
		padding-top: 15px;
		padding-bottom: 5px;
		font-weight: 600;
	}

	.rp-form-section .form-table input[type="text"],
	.rp-form-section .form-table input[type="email"],
	.rp-form-section .form-table input[type="tel"],
	.rp-form-section .form-table input[type="url"],
	.rp-form-section .form-table input[type="date"],
	.rp-form-section .form-table input[type="number"],
	.rp-form-section .form-table select {
		max-width: 100%;
	}

	.rp-form-section .submit {
		flex-direction: column;
		align-items: stretch;
	}

	.rp-form-section .submit .button {
		width: 100%;
		text-align: center;
	}

	/* Jobs Grid - Single column on mobile */
	.rp-jobs-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

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

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

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

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

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

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

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

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

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

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

	.rp-application-form {
		padding: 25px;
	}

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

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

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

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

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

	.rp-button {
		width: 100%;
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rp-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;
}

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

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

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

/* WordPress wp-list-table (Applications & Documents) */
.rp-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%;
}

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

.rp-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;
}

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

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

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

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

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

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

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

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

.rp-user-profile .wp-list-table .button,
.rp-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;
}

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

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

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

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

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

/* General button styling for profile page */
.rp-user-profile .button,
.rp-user-profile button.button {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	background: #fff;
	color: #475569;
	line-height: 1.5;
}

.rp-user-profile .button:hover,
.rp-user-profile button.button:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #1e293b;
}

.rp-user-profile .button-primary,
.rp-user-profile button.button-primary {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

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

.rp-user-profile .button:disabled,
.rp-user-profile button.button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #e2e8f0;
	border-color: #cbd5e1;
	color: #94a3b8;
}

/* Document upload form styling */
.rp-user-profile #document-upload-form {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 24px !important;
	margin-bottom: 20px !important;
}

.rp-user-profile #document-upload-form h3 {
	margin: 0 0 20px 0 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
}

/* Form table input styling */
.rp-user-profile .form-table input[type="text"].regular-text,
.rp-user-profile .form-table input[type="text"],
.rp-user-profile .form-table input[type="email"],
.rp-user-profile .form-table input[type="tel"],
.rp-user-profile .form-table input[type="url"],
.rp-user-profile .form-table select.regular-text,
.rp-user-profile .form-table select {
	width: 100%;
	max-width: 500px;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: #1e293b;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.rp-user-profile .form-table input:focus,
.rp-user-profile .form-table select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.rp-user-profile .form-table input[type="file"] {
	padding: 8px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	max-width: 500px;
	cursor: pointer;
}

.rp-user-profile .form-table input[type="file"]:hover {
	border-color: #2563eb;
}

.rp-user-profile .form-table .description {
	color: #64748b;
	font-size: 13px;
	font-style: italic;
	margin: 8px 0 0 0;
}

.rp-user-profile .form-table .required {
	color: #ef4444;
	font-weight: 600;
}

.rp-user-profile p.submit {
	margin: 20px 0 0 0;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

/* Profile sections */
.rp-user-profile .rp-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);
}

.rp-user-profile .rp-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 */

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

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

/* Old .rp-page-header styles removed - now using .rp-dashboard__header */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Profile Header */
.rp-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);
}

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

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

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

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

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

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

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

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

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

.rp-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;
}

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

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

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

.rp-documents-table .rp-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;
}

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

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

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

.rp-documents-table .rp-doc-actions a,
.rp-documents-table .rp-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;
}

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

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

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

/* Upload Button */
.rp-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;
}

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

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

/* Notifications */
.rp-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;
}

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

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

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

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

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

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

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

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

/* Edit Profile Link */
.rp-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;
}

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

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

/* ========================================
   Login & Registration Forms
   ======================================== */

/* Form Logo */
.rp-form-logo {
	text-align: center;
	margin-bottom: 32px;
}

.rp-form-logo img {
	max-width: 280px;
	height: auto;
}

@media (max-width: 480px) {
	.rp-form-logo img {
		max-width: 220px;
	}
}

/* Login Wrapper */
.rp-login-wrapper {
	max-width: 440px;
	margin: 40px auto;
	padding: 40px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rp-login-header {
	text-align: center;
	margin-bottom: 32px;
}

.rp-login-header h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 600;
	color: #1e293b;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rp-login-subtitle {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.rp-login-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.rp-login-links {
	text-align: center;
}

.rp-login-links p {
	margin: 8px 0;
	font-size: 14px;
	color: #64748b;
}

.rp-login-links a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
}

.rp-login-links a:hover {
	color: #135e96;
	text-decoration: underline;
}

/* Registration Wrapper */
.rp-registration-wrapper {
	max-width: 640px;
	margin: 40px auto;
	padding: 40px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rp-registration-header {
	text-align: center;
	margin-bottom: 32px;
}

.rp-registration-header h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 600;
	color: #1e293b;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rp-registration-subtitle {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.rp-registration-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	text-align: center;
}

.rp-registration-footer p {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.rp-registration-footer a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
}

.rp-registration-footer a:hover {
	color: #135e96;
	text-decoration: underline;
}

/* Form Styling */
.rp-form {
	margin: 0;
}

.rp-form-section {
	margin-bottom: 32px;
}

.rp-form-section h3 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	color: #334155;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 8px;
}

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

.rp-form-group label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
}

.rp-form-group input[type="text"],
.rp-form-group input[type="email"],
.rp-form-group input[type="password"],
.rp-form-group input[type="tel"],
.rp-form-group select,
.rp-form-group textarea {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #1e293b;
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	box-sizing: border-box;
}

.rp-form-group input:focus,
.rp-form-group select:focus,
.rp-form-group textarea:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.rp-form-group .required {
	color: #dc2626;
	font-weight: 600;
}

.rp-form-help {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

/* Form Row (Two columns) */
.rp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 640px) {
	.rp-form-row {
		grid-template-columns: 1fr;
	}
}

/* Checkbox Field */
.rp-form-checkbox {
	display: flex;
	align-items: center;
}

.rp-form-checkbox label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-weight: 400;
	cursor: pointer;
}

.rp-form-checkbox input[type="checkbox"] {
	margin: 0 8px 0 0;
	cursor: pointer;
}

/* Form Messages */
.rp-form-messages {
	margin-bottom: 20px;
}

/* Form Actions (Submit Button Area) */
.rp-form-actions {
	margin-top: 28px;
}

.rp-btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: all 0.15s ease-in-out;
}

.rp-btn-primary {
	color: #ffffff;
	background-color: #2271b1;
	border-color: #2271b1;
}

.rp-btn-primary:hover {
	background-color: #135e96;
	border-color: #135e96;
	color: #ffffff;
	text-decoration: none;
}

.rp-btn-primary:disabled {
	background-color: #94a3b8;
	border-color: #94a3b8;
	cursor: not-allowed;
	opacity: 0.6;
}

.rp-btn-large {
	padding: 12px 24px;
	font-size: 16px;
}

.rp-btn-block {
	display: block;
	width: 100%;
}

.rp-button-loading {
	display: inline-block;
}

/* Notices */
.rp-notice {
	padding: 12px 16px;
	margin-bottom: 20px;
	border-left: 4px solid;
	border-radius: 4px;
}

.rp-notice p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.rp-notice-error {
	background-color: #fef2f2;
	border-left-color: #dc2626;
	color: #991b1b;
}

.rp-notice-success {
	background-color: #f0fdf4;
	border-left-color: #16a34a;
	color: #15803d;
}

.rp-notice-warning {
	background-color: #fffbeb;
	border-left-color: #f59e0b;
	color: #b45309;
}

.rp-notice-info {
	background-color: #eff6ff;
	border-left-color: #3b82f6;
	color: #1e40af;
}

/* Mobile Responsive */
@media (max-width: 640px) {
	.rp-login-wrapper,
	.rp-registration-wrapper {
		margin: 20px;
		padding: 24px;
	}

	.rp-login-header h2,
	.rp-registration-header h2 {
		font-size: 24px;
	}
}
