/* General Styles */
body {
	margin: 0;
	background-color: #f4f6f9;
	color: #333;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.floatingcentered {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Login Container */
.login-container {
	width: 100%;
	max-width: 400px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Logo Container */
.logo-container {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo {
	max-width: 200px;
	height: auto;
}

/* Login Form */
.login-form {
	width: 100%;
}

.login-form h2 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #004080;
}

.login-form input[type="text"],
.login-form input[type="password"] {
	width: 95% !important;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

.login-form button {
	width: 100%;
	padding: 10px;
	background: #007BFF;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.login-form button:hover {
	background: #0056b3;
}

.error {
	color: red;
	margin-bottom: 10px;
	font-size: 14px;
}

/* Reset Password Section */
.reset-password {
	margin-top: 20px;
	text-align: center;
}

.reset-button {
	background-color: #6ca0d8 !important;
	color: white !important;
	border: none !important;
	width: 60% !important;
	padding: 6px 12px !important;
	border-radius: 5px !important;
	font-size: 14px !important;
	cursor: pointer !important;
	transition: background-color 0.3s ease !important;
}

.reset-button:hover {
	background-color: #0056b3 !important;
}

.reset-password p {
	margin-bottom: 10px;
	font-size: 14px;
	color: #555;
}

/* Reset Container */
.reset-container {
	width: 100%;
	max-width: 400px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 20px;
	text-align: center;
}

/* Form Inputs */
input[type="password"] {
	width: 95%;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

button[type="submit"] {
	width: 95%;
	background-color: #007BFF;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
	background-color: #0056b3;
}

/* Messages */
.success {
	color: green;
	margin-bottom: 20px;
}

.error {
	color: red;
	margin-bottom: 20px;
}

/* Form Elements */
input[type="email"] {
	width: 97.2% !important;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

/* Back to Login Link */
.back-to-login a {
	text-decoration: none;
	color: #007BFF;
	font-size: 14px;
}

.back-to-login a:hover {
	text-decoration: underline;
}

/* Header Styles */
.dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 30px;
	background-color: #004080;
	color: white;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
	display: flex;
	align-items: center;
}

.dashboard-logo {
	height: 50px;
	margin-bottom: -20px;
	width: auto;
}

.dashboard-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 20px;
}

.dashboard-nav li {
	margin: 0;
}

.dashboard-nav a {
	text-decoration: none;
	color: white;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.3s;
}

.dashboard-nav a:hover {
	color: rgba(252, 131, 17, 1);
}

.dashboard-nav a.active {
	color: rgba(252, 131, 17, 1);
	font-weight: bold;
	border-bottom: 2px solid rgba(252, 131, 17, 1);
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropbtn {
	background-color: transparent;
	color: white;
	padding: 10px 15px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	margin-top: 4px;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown .dropbtn.active {
	color: rgba(252, 131, 17, 1);
	font-weight: bold;
	border-bottom: 2px solid rgba(252, 131, 17, 1);
}

.logout-button {
	background-color: #e63946;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: bold;
	transition: background-color 0.3s;
}

.logout-button:hover {
	background-color: #d62828;
}

/* Dashboard Content */
.dashboard-content {
	padding: 40px;
	margin: 0 auto;
	text-align: center;
}

.dashboard-content h1 {
	font-size: 28px;
	margin-bottom: 20px;
	color: #004080;
}

.dashboard-content p {
	font-size: 18px;
	color: #555;
}

/* Membership Container Styles */
#membershipsContainer {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.membership-container {
	background-color: #f9fafc;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 350px;
}

/* Membership Header */
.membership-header {
	background-color: #e8f0fe;
	color: #555;
	padding: 10px 15px;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

.edit-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	transition: transform 0.2s ease;
}

.edit-button:hover {
	transform: scale(1.1);
}

.edit-icon {
	width: 100%;
	height: 100%;
}

/* Membership Details */
.membership-details {
	background-color: #f9fafc;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

.membership-details .section {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ccc;
}

.membership-details .section:last-child {
	border-bottom: none;
}

.field-container {
	display: inline-block;
	font-size: 16px;
	color: #333;
}

.field-container.important {
	font-weight: bold;
	color: #0056b3;
}

.field-container.highlight {
	font-weight: bold;
	color: #28a745;
}

.membership-details h4 {
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #0056b3;
	font-weight: bold;
}

.training-summary {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.training-summary li {
	margin: 5px 0;
	font-size: 16px;
	color: #333;
}

.training-summary b {
	font-size: 18px;
	color: #28a745;
}

.section {
	margin-bottom: 15px;
}

.section.key-info, .section.contact-info {
	border-bottom: 2px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 10px;
	text-align: left;
}

.field-container {
	font-weight: normal;
	color: #555;
}

.field-container.important {
	font-weight: bold;
	color: #0066cc;
}

.field-container.highlight {
	font-weight: bold;
	color: #0066cc;
}

.highlight {
	font-weight: bold;
	color: #0066cc;
}

.training-summary {
	list-style: none;
	padding: 0;
	margin: 0;
}

.training-summary li {
	margin: 5px 0;
	color: #333;
}

.members-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 16px;
	text-align: left;
}

.members-table thead tr {
	background-color: #002855;
	color: white;
	text-align: left;
	font-weight: bold;
}

.members-table th,
.members-table td {
	border: 1px solid #ddd;
	padding: 12px;
}

.members-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.members-table tbody tr:hover {
	background-color: #f1f1f1;
}

.members-table td {
	word-wrap: break-word;
}

.employees-table {
	width: 94%;
	border-collapse: collapse;
	margin: 0 !important;
	font-size: 16px;
	text-align: left;
	font-size: 13px !important;
}

.employees-table thead tr {
	background-color: #002855;
	color: white;
	text-align: left;
	font-weight: bold;
}

.employees-table th,
.employees-table td {
	border: 1px solid #ddd;
	padding: 12px;
}

.employees-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.employees-table tbody tr:hover {
	background-color: #f1f1f1;
}

.employees-table td {
	word-wrap: break-word;
}

.summary {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary p {
	margin: 10px 0;
	font-size: 1.2em;
}

.summary .highlight {
	font-weight: bold;
	color: #0066cc;
}

.summary .negative {
	color: #cc0000;
}

.info-button {
	background-color: #007BFF;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px 15px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.info-button:hover {
	background-color: #0056b3;
}

.info-button:focus {
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.company-profile {
	font-family: Arial, sans-serif;
	background-color: #f2f4f8;
	padding: 20px;
	color: #333;
	line-height: 1.6;
	text-align: left;
}

.company-profile .container {
	max-width: 1000px;
	margin: auto;
	padding: 25px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-profile .section {
	margin-bottom: 25px;
}

.company-profile .header {
	display: flex;
	align-items: center;
	gap: 15px;
}

.company-profile .logo {
	width: 120px;
	height: auto;
	border-radius: 14px;
}

.company-profile .header-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.company-profile .company-name {
	font-size: 3em;
	color: #0056b3;
	font-weight: bold;
	margin: 0;
}

.company-profile .member-since {
	font-size: 1.2em;
	color: #2b0;
	margin-top: 0;
	font-weight: bold;
}

.company-profile .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #e8f0fe;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.company-profile .section-header h2 {
	font-size: 1.4em;
	color: #0056b3;
	margin: 0;
}

.company-profile .field {
	margin: 0 0;
	font-size: 1em;
}

.company-profile .label {
	font-weight: bold;
	color: #333;
}

.company-profile .value {
	margin-left: 8px;
	color: #555;
}

.company-profile .employee-list {
	list-style-type: none;
	padding: 0;
}

.company-profile .employee-list li {
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
	font-size: 1em;
	color: #333;
}

.company-profile .employee-list li:last-child {
	border-bottom: none;
}

.company-profile .action-buttons {
	display: flex;
	gap: 10px;
}

.company-profile .button {
	background-color: #0056b3;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 8px 15px;
	cursor: pointer;
	font-size: 0.9em;
	transition: background-color 0.3s;
	text-decoration: none;
	text-align: center;
}

.company-profile .button:hover {
	background-color: #004494;
}

.company-profile .button.billing {
	background-color: #28a745;
	color: #fff;
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
	display: inline-block;
	margin-right: 10px;
}

.company-profile .button.billing:hover {
	background-color: #218838;
}

.company-profile .button.cancel {
	background-color: #dc3545;
	color: #fff;
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
	display: inline-block;
}

.company-profile .button.cancel:hover {
	background-color: #c82333;
}

.button-container {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.company-profile .button.manage-admins {
	background-color: #ffc107;
	color: #333;
}

.company-profile .button.manage-admins:hover {
	background-color: #e0a800;
}

.company-profile .button.lms-dashboard {
	background-color: #17a2b8;
}

.company-profile .button.lms-dashboard:hover {
	background-color: #138496;
}

.company-profile .section-content {
	padding: 15px;
	background-color: #f9fafc;
	border-radius: 8px;
	position: relative;
}

/* Badge embed section - compact and collapsible */
.company-profile .badge-embed-section .section-header {
	padding: 8px 12px;
	margin-bottom: 0;
	cursor: pointer;
	user-select: none;
}
.company-profile .badge-embed-section .section-header h2.badge-embed-section-heading {
	font-size: 1.1em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.company-profile .badge-embed-section .badge-embed-new-label {
	display: inline-block;
	flex-shrink: 0;
	font-size: 0.62em;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	color: #fff;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 4px;
	background: linear-gradient(180deg, #ff9800 0%, #e65100 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.company-profile .badge-embed-section .collapsible-chevron {
	font-size: 0.9em;
	opacity: 0.7;
	transition: transform 0.2s;
}
.company-profile .badge-embed-section .badge-embed-content {
	padding: 10px 12px;
	margin-top: 4px;
}
.company-profile .badge-embed-section .badge-embed-desc {
	margin: 0 0 10px 0;
	color: #666;
	font-size: 0.9em;
}
.company-profile .badge-embed-section .badge-embed-size-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}
.company-profile .badge-embed-section .badge-embed-size-btns {
	display: flex;
	gap: 4px;
}
.company-profile .badge-embed-section .badge-embed-size-btns.cert-density-btns {
	flex-wrap: wrap;
}
.company-profile .badge-embed-section .badge-size-btn {
	padding: 4px 12px;
	font-size: 13px;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}
.company-profile .badge-embed-section .badge-size-btn:not(.active) {
	color: #555;
}
.company-profile .badge-embed-section .badge-size-btn:hover {
	background: #f5f5f5;
}
.company-profile .badge-embed-section .badge-size-btn.active {
	background: #0066cc;
	color: #fff;
	border-color: #0066cc;
}
.company-profile .badge-embed-section .cert-width-btn,
.company-profile .badge-embed-section .cert-density-btn {
	padding: 4px 10px;
	font-size: 13px;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}
.company-profile .badge-embed-section .cert-width-btn:not(.active),
.company-profile .badge-embed-section .cert-density-btn:not(.active) {
	color: #555;
}
.company-profile .badge-embed-section .cert-width-btn:hover,
.company-profile .badge-embed-section .cert-density-btn:hover {
	background: #f5f5f5;
}
.company-profile .badge-embed-section .cert-width-btn.active,
.company-profile .badge-embed-section .cert-density-btn.active {
	background: #0066cc;
	color: #fff;
	border-color: #0066cc;
}
.company-profile .badge-embed-section .badge-embed-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
}
.company-profile .badge-embed-section .badge-embed-preview {
	flex-shrink: 0;
}
.company-profile .badge-embed-section .badge-embed-preview .label,
.company-profile .badge-embed-section .badge-embed-codes .label {
	display: block;
	font-size: 0.85em;
	margin-bottom: 4px;
}
.company-profile .badge-embed-section .badge-embed-preview img,
.company-profile .badge-embed-section .badge-embed-preview iframe {
	border: 1px solid #ddd;
	border-radius: 4px;
}
.company-profile .badge-embed-section .badge-embed-codes {
	flex: 1;
	min-width: 200px;
}
.company-profile .badge-embed-section .badge-embed-codes > div {
	margin-bottom: 10px;
}
.company-profile .badge-embed-section .badge-embed-codes > div:last-child {
	margin-bottom: 0;
}
.company-profile .badge-embed-section .badge-embed-code-wrap {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px;
	background: #f5f5f5;
	border-radius: 4px;
}
.company-profile .badge-embed-section .badge-embed-codes code {
	flex: 1;
	display: block;
	padding: 0;
	background: transparent;
	border-radius: 0;
	font-size: 11px;
	word-break: break-all;
	margin: 0;
	min-width: 0;
}
.company-profile .badge-embed-section .badge-embed-codes .badge-embed-code-wrap .button.billing {
	flex-shrink: 0;
	padding: 4px 10px;
	font-size: 12px;
}

.company-profile .embed-instructions-link {
	color: #0066cc;
	text-decoration: underline;
	font-weight: 500;
}
.company-profile .embed-instructions-link:hover {
	color: #004499;
}

/* Embed Instructions Modal */
.embed-instructions-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	animation: embedModalFadeIn 0.2s ease;
}
.embed-instructions-overlay[hidden] {
	display: none !important;
}
@keyframes embedModalFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.embed-instructions-modal {
	background: white;
	padding: 28px 32px;
	border-radius: 12px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
	max-width: 560px;
	width: 92%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	animation: embedModalSlideIn 0.25s ease;
}
@keyframes embedModalSlideIn {
	from { transform: translateY(-20px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
.embed-instructions-modal h2 {
	margin: 0 0 16px 0;
	font-size: 1.4em;
	color: #333;
	padding-right: 32px;
}
.embed-instructions-close {
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 28px;
	line-height: 1;
	color: #888;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	transition: color 0.2s;
}
.embed-instructions-close:hover {
	color: #333;
}
.embed-instructions-intro {
	color: #555;
	font-size: 1em;
	line-height: 1.5;
	margin: 0 0 20px 0;
}
.embed-instructions-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.embed-instructions-btn {
	padding: 12px 18px;
	font-size: 0.95em;
	background: #e8f0fe;
	color: #1967d2;
	border: 2px solid #d2e3fc;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.2s, border-color 0.2s;
}
.embed-instructions-btn:hover {
	background: #d2e3fc;
	border-color: #a8c7fa;
}
.embed-instructions-btn-unknown {
	background: #fef7e0;
	color: #b06000;
	border-color: #fde9b8;
}
.embed-instructions-btn-unknown:hover {
	background: #fde9b8;
	border-color: #f5d67a;
}
.embed-instructions-back {
	background: none;
	border: none;
	color: #666;
	font-size: 0.95em;
	cursor: pointer;
	margin-bottom: 16px;
	padding: 4px 0;
	text-decoration: underline;
}
.embed-instructions-back:hover {
	color: #333;
}
.embed-instructions-copy-box {
	margin-bottom: 16px;
}
.embed-instructions-copy-box .button.billing {
	padding: 10px 20px;
	font-size: 1em;
}
.embed-instructions-content {
	color: #444;
	font-size: 1em;
	line-height: 1.65;
}
.embed-instructions-content ol {
	margin: 0 0 16px 0;
	padding-left: 22px;
}
.embed-instructions-content li {
	margin-bottom: 10px;
}
.embed-instructions-content .step-num {
	font-weight: bold;
	color: #1967d2;
}
.embed-instructions-content p {
	margin: 0 0 12px 0;
}
.embed-instructions-content .copy-reminder {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	border-radius: 6px;
	padding: 12px 14px;
	margin: 16px 0;
	font-weight: 500;
	color: #2e7d32;
}

.company-profile .areas-served-list,
.company-profile .services-offered-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	list-style-type: disc;
	padding-left: 20px;
	color: #555;
	font-size: 1em;
	line-height: 1.6;
}

.company-profile .services-offered-static .services-offered-grouped {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem 1.35rem;
	text-align: left;
}

.company-profile .services-offered-category {
	background: #fff;
	border: 1px solid #e0e6ef;
	border-radius: 8px;
	padding: 0.65rem 0.85rem 0.75rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.company-profile .services-offered-category-title {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #004080;
	margin: 0 0 0.45rem 0;
	line-height: 1.3;
}

.company-profile .services-offered-category-list {
	margin: 0;
	padding-left: 1.15rem;
	color: #444;
	font-size: 0.95rem;
	line-height: 1.45;
}

.company-profile .services-offered-category-list li {
	margin-bottom: 0.2rem;
}

.company-profile .services-offered-category--standalone .services-offered-category-title {
	color: #555;
}

.styled-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 1em;
	font-family: Arial, sans-serif;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.styled-table thead tr {
	background-color: #e8f0fe;
	color: #0056b3;
	text-align: left;
	font-weight: bold;
}

.styled-table th,
.styled-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.styled-table tbody tr:nth-of-type(even) {
	background-color: #f9fafc;
}

.styled-table tbody tr:hover {
	background-color: #f1f5fe;
}

.styled-table th {
	cursor: pointer;
	user-select: none;
}

.styled-table th.sort-asc::after,
.styled-table th.sort-desc::after {
	content: '';
	display: inline-block;
	margin-left: 10px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

.styled-table th.sort-asc::after {
	border-bottom: 5px solid #0056b3;
}

.styled-table th.sort-desc::after {
	border-top: 5px solid #0056b3;
}

.styled-table tbody tr:last-of-type td {
	border-bottom: none;
}

.sortable th {
	cursor: pointer;
}

.sortable th:hover {
	background-color: #898b9f;
}

/* Buttons */
button {
	background-color: #0066CC;
	color: #fff;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	margin-top: 20px;
	transition: background-color 0.3s;
}

button:hover {
	background-color: #005BB5;
}

#addItem {
	background-color: #28A745;
}

#addItem:hover {
	background-color: #218838;
}

#openInvoiceForm {
	display: block;
	margin: 20px auto;
	background-color: #0066CC;
	color: #fff;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s;
}

#openInvoiceForm:hover {
	background-color: #005BB5;
}

#newCardFields input[type="text"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	font-size: 1em;
	margin-top: 5px;
	box-sizing: border-box;
	transition: border 0.3s;
}

#newCardFields input[type="text"]:focus {
	border-color: #0066CC;
	outline: none;
}

select {
	width: 100%;
	padding: 10px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	font-size: 1em;
	margin-top: 5px;
	box-sizing: border-box;
	transition: border 0.3s;
	background-color: #fff;
	color: #333;
	appearance: none;
}

select::after {
	content: '▼';
	position: absolute;
	right: 10px;
	color: #666;
	pointer-events: none;
}

select:focus {
	border-color: #0066CC;
	outline: none;
}

.invoice, .payment-method {
	background-color: #fdfdfd;
	border: 1px solid #dedede;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.invoice-header, .payment-method-header {
	font-size: 1.3em;
	color: #0056b3;
	font-weight: bold;
	margin-bottom: 15px;
}

.info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.info div {
	flex: 1 1 45%;
	font-size: 1em;
	line-height: 1.6;
}

.spending-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background-color: #f9f9f9;
}

.invoice-buttons, .action-buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}

.button {
	background-color: #0056b3;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 0.9em;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.3s;
}

.button.link-blue {
	background-color: #007bff;
}

.button.link-blue:hover {
	background-color: #0056b3;
}

.button.link-green {
	background-color: #28a745;
}

.button.link-green:hover {
	background-color: #1e7a34;
}

.button.link-red {
	background-color: #dc3545;
	color: white;
}

.button.link-red:hover {
	background-color: #c82333;
}

.delete-btn {
	padding: 4px 8px !important;
	width: 30px !important;
	height: 20px !important;
	line-height: 12px !important;
	text-align: center !important;
	font-size: 14px !important;
	border-radius: 4px !important;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.form-content {
	background: #fff;
	padding: 20px;
	width: 100%;
	max-width: 1200px;
	border-radius: 8px;
	position: relative;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	font-family: Arial, sans-serif;
}

.close {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 24px;
	cursor: pointer;
	color: #333;
}

.form-content h2 {
	margin-top: 0;
	font-size: 1.5em;
	color: #333;
}

label {
	font-weight: bold;
	color: #333;
	display: block;
	margin-top: 15px;
}

input[type="text"],
input[type="number"],
input[type="url"],
textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	font-size: 1em;
	margin-top: 5px;
	box-sizing: border-box;
	transition: border 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus {
	border-color: #0066CC;
	outline: none;
}

#itemContainer .item {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.cancel-dropdown {
	position: relative;
	display: inline-block;
}

.cancel-dropdown-content {
	display: none;
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	padding: 5px;
	z-index: 10;
	width: 180px;
}

.cancel-dropdown:hover .cancel-dropdown-content {
	display: block;
}

.cancel-option {
	display: block;
	padding: 5px;
	text-align: left;
	font-size: 12px;
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.cancel-option:hover {
	background-color: #f8d7da;
	color: red;
}

.subscription-container {
	display: none;
	width: 98%;
	max-width: 600px;
	margin: 15px auto;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #f9f9f9;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.subscription-container h2 {
	text-align: center;
	font-size: 18px;
	margin-bottom: 12px;
	font-weight: 600;
}

.subscription-container label {
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 4px;
	display: block;
}

.subscription-container input,
.subscription-container select {
	width: 100%;
	padding: 7px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	transition: all 0.2s ease-in-out;
}

.subscription-container input:focus,
.subscription-container select:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.date-promo-trial {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.date-promo-trial > div {
	flex: 1;
}

#start_date {
	max-width: 80%;
}

#promo_code {
	max-width: 53%;
}

#trial_days {
	max-width: 30%;
	text-align: center;
}

.subscription-container button {
	width: 100%;
	padding: 10px;
	background: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 15px;
	cursor: pointer;
	font-weight: 600;
	margin-top: 10px;
	transition: background 0.2s ease-in-out;
}

.subscription-container button:hover {
	background: #0056b3;
}

#subscriptionMessage {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	font-weight: bold;
}

.toggle-button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	border-radius: 5px;
	font-size: 16px;
}

.toggle-button:hover {
	background-color: #0056b3;
}

.info-text {
	font-size: 12px;
	color: #555;
	margin-bottom: 10px;
	font-style: italic;
}

.balance-container {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
	text-align: center;
}

.negative-balance {
	color: #d9534f;
	font-weight: bold;
}

.positive-balance {
	color: #28a745;
	font-weight: bold;
}

.styled-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.styled-table th, .styled-table td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: left;
}

.styled-table th {
	background: #f4f4f4;
	font-weight: bold;
}

.no-transactions {
	font-size: 14px;
	color: #888;
}

.balance-form {
	color: #0056b3;
	margin-top: 20px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 6px;
	text-align: center;
}

.balance-form h3 {
	margin-bottom: 10px;
}

.balance-form label {
	display: block;
	font-weight: bold;
	margin-top: 10px;
}

.balance-form input, .balance-form select {
	width: 45%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 5px;
}

#invoiceOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.invoice-container {
	background: #fff;
	width: 80%;
	max-width: 900px;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	position: relative;
	text-align: center;
}

#invoiceFrame iframe {
	width: 100%;
	height: 500px;
	border: none;
}

#closeInvoiceOverlay {
	position: absolute;
	top: 10px;
	right: 15px;
	background: #d9534f;
	color: white;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 16px;
}

#closeInvoiceOverlay:hover {
	background: #c9302c;
}

.hidden-row {
	display: none;
}

.expand-container {
	text-align: center;
}

#toggleTableBtn {
	background: #007bff;
	color: white;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	border-radius: 5px;
}

#toggleTableBtn:hover {
	background: #0056b3;
}

.editable-admins-field {
	width: auto !important;
}

.admin-deleted-badge {
	display: inline-block;
	font-weight: 600;
	font-style: italic;
	color: #6c757d;
	font-size: 0.9em;
}

/* Compact, distinct admin rows in edit mode */
#editAdminsForm > ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#editAdminsForm .admin-edit-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #f7f9fc;
	border: 1px solid #dde3ec;
	border-radius: 6px;
}

#editAdminsForm .admin-edit-row-new {
	background: #f4faf5;
	border-style: dashed;
	border-color: #b7d4be;
}

#editAdminsForm .editable-admins-field {
	width: auto !important;
	flex: 1 1 110px;
	min-width: 100px;
	max-width: 200px;
	padding: 6px 8px !important;
	margin-top: 0 !important;
	font-size: 0.875em !important;
	line-height: 1.3;
	box-sizing: border-box;
}

#editAdminsForm .admin-field-firstname,
#editAdminsForm .admin-field-lastname {
	flex: 1 1 100px;
	max-width: 150px;
}

#editAdminsForm .admin-field-email {
	flex: 1 1 160px;
	max-width: 240px;
}

#editAdminsForm .admin-field-phone {
	flex: 0 1 120px;
	max-width: 140px;
}

#editAdminsForm .admin-permissions-select {
	flex: 0 0 120px;
	width: 120px !important;
	max-width: 120px;
	min-width: 110px;
	appearance: auto;
	-webkit-appearance: menulist;
}

#editAdminsForm .admin-deleted-badge,
#editAdminsForm .admin-delete-btn,
#editAdminsForm .admin-restore-btn {
	flex: 0 0 auto;
}

#editAdminsForm .admin-edit-row.is-deleted {
	background: #f3f3f3;
	border-color: #ddd;
	color: #888;
}

#editAdminsForm .admin-edit-row.is-deleted .editable-admins-field {
	background-color: #ebebeb;
	color: #888;
}

/* Override global button styles — keep restore/delete as compact text actions */
button.admin-delete-btn,
button.admin-restore-btn {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	padding: 2px 4px !important;
	margin: 0 0 0 4px !important;
	line-height: 1.2;
	vertical-align: middle;
	font-size: 13px !important;
	font-weight: 600;
	height: auto !important;
	width: auto !important;
	display: inline-block;
	text-decoration: none;
}

button.admin-delete-btn {
	color: #c0392b !important;
}

button.admin-delete-btn:hover {
	color: #922b21 !important;
	background: transparent !important;
	background-color: transparent !important;
}

button.admin-restore-btn {
	color: #2e7d32 !important;
}

button.admin-restore-btn:hover {
	color: #1b5e20 !important;
	background: transparent !important;
	background-color: transparent !important;
	text-decoration: underline;
}

.editable-field {
	width: auto !important;
}

.details-columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
	align-items: center;
}

.tag-container {
	border: 1px solid #ccc;
	padding: 5px;
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	background: white;
	border-radius: 5px;
	align-items: center;
}

.tags-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.tag {
	background: #e5ecf9;
	padding: 5px 10px;
	border-radius: 15px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.tag .remove-tag {
	margin-left: 8px;
	cursor: pointer;
	font-weight: bold;
	color: #dc3545;
}

.tag-container input {
	border: none;
	outline: none;
	flex-grow: 1;
	min-width: 100px;
}

#servicesProvidedSelect {
	width: 100%;
	height: 250px;
}

.dropzone-label {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 110px;
	height: 110px;
	border: 2px dashed #007bff;
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #007bff;
	background-color: #f8f9fa;
	transition: background-color 0.2s ease-in-out;
}

.dropzone-label:hover {
	background-color: #e2e6ea;
}

.logo-preview {
	max-width: 100%;
	max-height: 140px;
	border-radius: 10px;
	object-fit: contain;
}

.membership-form {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	max-width: 90000px;
	margin: 20px auto;
	text-align: center;
}

.membership-form h3 {
	margin-bottom: 15px;
	color: #333;
}

.membership-form input {
	width: 100%;
	padding: 10px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
}

.membership-form .action-button {
	background: #007BFF;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 10px;
	width: 100%;
}

.membership-form .action-button:hover {
	background: #0056b3;
}

#membershipMessage {
	margin-top: 10px;
	font-weight: bold;
	color: green;
}

#footer {
	background-color: #f4f6f9;
	text-align: center;
	padding: 15px 10px;
	font-size: 14px;
	font-family: Arial, sans-serif;
}

#footer a.footer-link {
	text-decoration: none;
	margin: 0 5px;
	font-weight: bold;
}

#footer a.footer-link:hover {
	text-decoration: underline;
}

.tableLMS {
	margin-top: 25px;
}

.tableLMS td {
	padding-bottom: 12px;
}

.tableLMS thead {
	background: #f4f6f9 !important;
	vertical-align: top;
}

.tableLMS tr > td:first-child {
	text-align: right !important;
}

.tableLMS tr > td:not(:first-child) {
	vertical-align: top;
}

.tableLMS tr:nth-child(even) {
	background-color: #e8eaed;
}

.tableLMS tr:nth-child(odd) {
	background-color: #f4f6f9;
}

.edit-input {
	width: 100%;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.edit-select {
	width: 100%;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.save-btn {
	background-color: #28a745;
}

.save-btn:hover {
	background-color: #218838;
}

/* Multi-Step Form */
.progress-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 10px 0;
	background-color: #f4f6f9;
	border-radius: 8px;
}

.progress-step {
	flex: 1;
	text-align: center;
	padding: 10px;
	font-size: 16px;
	color: #555;
	background-color: #e8f0fe;
	border-right: 1px solid #ccc;
	transition: background-color 0.3s;
}

.progress-step:last-child {
	border-right: none;
}

.progress-step.active {
	background-color: #0056b3;
	color: #fff;
	font-weight: bold;
}

.step {
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step h2 {
	font-size: 24px;
	color: #004080;
	margin-bottom: 10px;
}

/* Steps Indicator */
#steps {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

#steps > div {
	background-color: #f9fafc;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	transition: background-color 0.3s, border-color 0.3s;
}

#steps > div[expanded] {
	background-color: #e8f0fe;
	border-color: #0056b3;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#steps > div[expanded] h2 {
	color: #0056b3;
	font-weight: bold;
}

#steps > div[showhightlights] {
	background-color: #e6f4ea;
	border-color: #28a745;
	padding-left: 35px;
	position: relative;
}

#steps > div[showhightlights]::before {
	content: '✔';
	position: absolute;
	left: 15px;
	color: #28a745;
	font-size: 16px;
}

#steps > div[showhightlights] h2 {
	color: #28a745;
	margin: 0 0 8px 0;
}

#steps > div[collapsed] {
	background-color: #f4f6f9;
	border-color: #ccc;
	cursor: pointer;
}

#steps > div[collapsed] h2 {
	color: #555;
	margin: 0 0 8px 0;
}

#steps > div[collapsed] > *:not(h2, .selections),
#steps > div[showhightlights] > *:not(h2, .selections) {
	display: none;
}

.selections {
	margin: 0;
	padding: 0 0 0 15px;
	list-style: none;
	font-size: 13px;
	color: #666;
}

.selections li {
	margin: 2px 0;
}

/* Checkout Summary */
.checkout-summary {
	margin-top: 15px;
}

.checkout-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: #333;
}

.checkout-table th, .checkout-table td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

.checkout-table th {
	background-color: #e8f0fe;
	color: #0056b3;
	font-weight: bold;
}

.checkout-table tbody tr:nth-child(even) {
	background-color: #f9fafc;
}

.checkout-table tfoot td {
	background-color: #e8f0fe;
	font-weight: bold;
	color: #0056b3;
}

/* Card Layout for Events Registration */
.card-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 15px;
	grid-auto-rows: 1fr;
}

.card {
	background-color: #f9fafc;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 15px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card.selected {
	border-color: #0056b3;
	box-shadow: 0 0 0 2px #0056b3, 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-header {
	background-color: #e8f0fe;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
}

.card-header h4 {
	margin: 0;
	font-size: 18px;
	color: #0056b3;
	font-weight: bold;
}

.card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	font-size: 14px;
	color: #333;
}

.card-content p {
	margin: 8px 0;
}

.card-content p strong {
	color: #555;
}

.card-content .conditions {
	font-size: 13px;
	text-align: left;
	color: #666;
	border-top: 1px solid #eee;
	padding-top: 10px;
	margin-top: 10px;
}

.quantity-container {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: auto;
	padding-top: 10px;
}

.quantity-container label {
	font-size: 14px;
	color: #333;
	font-weight: bold;
}

.quantity-controls {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 35px;
}

.quantity-input {
	width: auto;
	height: 35px;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	text-align: center;
	box-sizing: border-box;
}

.quantity-input:focus {
	border-color: #0056b3;
	outline: none;
}

.quantity-btn {
	width: 55px;
	height: 35px;
	margin-top: 5px;
	background-color: rgb(247,99,13,.2);
	color: #0056b3;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	box-sizing: border-box;
	padding: 0;
}

.quantity-btn:hover {
	background-color: rgb(247,99,13);
	color: #fff;
	border-color: #0056b3;
}

.quantity-btn:focus {
	outline: 2px solid #0056b3;
	outline-offset: 2px;
}

.quantity-container .limit {
	font-size: 13px;
	color: #666;
	margin: 0;
	font-style: italic;
}

.quantity-input:disabled,
.quantity-btn:disabled {
	background-color: #f0f0f0;
	color: #999;
	border-color: #ccc;
	cursor: not-allowed;
}

.quantity-btn:disabled:hover {
	background-color: #f0f0f0;
	color: #999;
	border-color: #ccc;
}

.condition-message {
	font-size: 12px;
	color: #dc3545;
	margin: 5px 0 0 0;
	font-style: italic;
	display: none;
}

.card-content s {
	color: #666;
	text-decoration: line-through;
}

/* Existing Registrations Box Styling */
.existing-registrations-box {
	background: #ffffff;
	border: 2px solid #0056b3;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
	margin: 20px 0;
	overflow: hidden;
}

.existing-registrations-header {
	background: linear-gradient(135deg, #0056b3, #004494);
	color: white;
	padding: 15px 20px;
}

.existing-registrations-header h2 {
	margin: 0;
	font-size: 1.4em;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.existing-registrations-content {
	padding: 20px;
}

.registrations-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	background: white;
	font-size: 15px;
}

.registrations-table thead {
	background: #e8f0fe;
	border-bottom: 2px solid #0056b3;
}

.registrations-table thead th {
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	color: #0056b3;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.registrations-table tbody tr {
	border-bottom: 1px solid #e0e0e0;
	transition: background-color 0.2s ease;
}

.registrations-table tbody tr:hover {
	background-color: #f8f9fa;
}

.registrations-table tbody tr:last-child {
	border-bottom: none;
}

.registrations-table tbody td {
	padding: 12px 15px;
	color: #333;
}

.registrations-table .event-name-cell {
	background: #f9fafc;
	font-weight: 600;
	color: #0056b3;
	border-right: 2px solid #e0e0e0;
	vertical-align: top;
}

.registrations-table .type-cell {
	font-weight: 500;
	color: #555;
	font-style: italic;
}

.registrations-table .quantity-cell {
	font-weight: 600;
	color: #0056b3;
	text-align: center;
	background: #f0f7ff;
}

.add-more-notice {
	background: linear-gradient(135deg, #fff3cd, #ffeaa7);
	border-left: 4px solid #ffc107;
	padding: 15px 20px;
	border-radius: 6px;
	color: #856404;
	font-size: 15px;
	box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}

.add-more-notice strong {
	display: block;
	font-size: 16px;
}

/* Menu Toggle */
.menu-toggle {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	color: white;
	cursor: pointer;
}

/* Mobile-Friendly Styles */
@media (max-width: 768px) {
	/* Header Adjustments */
	.dashboard-header {
		flex-direction: column;
		padding: 10px 15px;
		position: relative;
		overflow: visible;
	}

	.logo-container {
		margin-bottom: 10px;
	}

	.dashboard-logo {
		height: 40px;
		margin-bottom: 0;
	}

	/* Navigation Menu */
	.dashboard-nav {
		width: 100%;
		display: none;
		overflow: visible;
	}

	.dashboard-nav.active {
		display: block;
		position: relative;
		z-index: 1002;
	}

	.dashboard-nav ul {
		flex-direction: column;
		gap: 0;
		display: flex;
		width: 100%;
		overflow: visible;
	}

	.dashboard-nav li {
		width: 100%;
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.dashboard-nav li:last-child {
		border-bottom: none;
	}

	.dashboard-nav a {
		display: block;
		padding: 12px 15px;
		font-size: 14px;
	}

	.dropdown {
		width: 100%;
	}

	/* Dropbtn needs higher specificity to override .dashboard-nav a display */
	.dashboard-nav .dropdown .dropbtn {
		width: 100%;
		text-align: left;
		padding: 14px 15px;
		min-height: 44px;
		display: flex;
		align-items: center;
		position: relative;
		cursor: pointer;
	}

	/* Chevron indicator for expandable dropdowns on mobile */
	.dropdown .dropbtn::after,
	.dropdown > a[href="#"]::after {
		content: " ▾";
		opacity: 0.8;
		font-size: 0.9em;
		margin-left: 4px;
	}

	.dropdown.open .dropbtn::after,
	.dropdown.open > a[href="#"]::after {
		content: " ▴";
	}

	.dropdown-content {
		position: static;
		width: 100%;
		box-shadow: none;
		background-color: rgba(255, 255, 255, 0.95);
		display: none;
		border-radius: 0;
		z-index: 1002;
	}

	/* Show dropdown on mobile when open class is added */
	.dropdown.open .dropdown-content {
		display: block;
	}

	/* Remove hover behavior on mobile - tap to expand only */
	.dropdown:hover .dropdown-content {
		display: none;
	}

	.dropdown.open .dropdown-content {
		display: block;
	}

	/* Minimum 44px touch targets for sub-items (WCAG) */
	.dropdown-content a {
		text-align: left;
		padding: 14px 25px;
		min-height: 44px;
		display: flex;
		align-items: center;
		font-size: 14px;
		border-bottom: 1px solid #eee;
		color: #333;
		cursor: pointer;
		pointer-events: auto;
		-webkit-tap-highlight-color: rgba(0, 64, 128, 0.1);
	}

	.dropdown-content a:last-child {
		border-bottom: none;
	}

	.dropdown-content a:hover,
	.dropdown-content a:active {
		background-color: #f1f1f1;
	}

	.logout-button {
		width: calc(100% - 30px);
		margin: 10px 15px;
		text-align: center;
		display: block;
	}

	/* Hamburger Menu */
	.menu-toggle {
		display: block;
		position: absolute;
		top: 10px;
		right: 15px;
		background: none;
		border: none;
		font-size: 28px;
		color: white;
		cursor: pointer;
		padding: 5px 10px;
		z-index: 1001;
		margin-top: 0;
	}

	.menu-toggle:hover {
		color: rgba(252, 131, 17, 1);
	}

	/* Content Adjustments */
	.dashboard-content {
		padding: 20px;
	}

	.dashboard-content h1 {
		font-size: 24px;
	}

	.dashboard-content p {
		font-size: 16px;
	}

	/* Membership Containers */
	#membershipsContainer {
		flex-direction: column;
		align-items: center;
	}

	.membership-container {
		width: 100%;
		max-width: 100%;
	}

	/* Tables */
	.members-table,
	.employees-table,
	.styled-table,
	.checkout-table,
	.registrations-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.members-table th,
	.members-table td,
	.employees-table th,
	.employees-table td,
	.styled-table th,
	.styled-table td,
	.checkout-table th,
	.checkout-table td,
	.registrations-table th,
	.registrations-table td {
		font-size: 14px;
		padding: 8px;
	}

	.existing-registrations-header h2 {
		font-size: 1.2em;
	}

	.existing-registrations-content {
		padding: 15px;
	}

	.add-more-notice {
		font-size: 14px;
		padding: 12px 15px;
	}

	.add-more-notice strong {
		font-size: 14px;
	}

	/* Card Layout */
	.card-container {
		grid-template-columns: 1fr;
	}

	.card {
		width: 100%;
	}

	/* Forms and Inputs */
	.membership-form,
	.subscription-container,
	.form-content {
		padding: 15px;
		max-width: 100%;
	}

	.membership-form input,
	.subscription-container input,
	.subscription-container select,
	.form-content input,
	.form-content textarea {
		font-size: 14px;
		padding: 8px;
	}

	.date-promo-trial {
		flex-direction: column;
	}

	#start_date,
	#promo_code,
	#trial_days {
		max-width: 100%;
	}

	/* Buttons */
	.button,
	.action-button,
	.toggle-button,
	#openInvoiceForm,
	#toggleTableBtn {
		font-size: 14px;
		padding: 8px 12px;
	}

	/* Footer */
	#footer {
		font-size: 12px;
		padding: 10px;
	}

	/* Progress Bar */
	.progress-bar {
		flex-direction: column;
		gap: 5px;
	}

	.progress-step {
		padding: 8px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.dashboard-content h1 {
		font-size: 20px;
	}

	.dashboard-content p {
		font-size: 14px;
	}

	.membership-container {
		padding: 10px;
	}

	.membership-header {
		font-size: 16px;
		padding: 8px 10px;
	}

	.membership-details h4 {
		font-size: 16px;
	}

	.field-container {
		font-size: 14px;
	}

	.training-summary li {
		font-size: 14px;
	}

	.company-profile .company-name {
		font-size: 2em;
	}

	.company-profile .member-since {
		font-size: 1em;
	}

	.company-profile .logo {
		width: 100px;
	}

	.invoice-container {
		width: 95%;
		padding: 15px;
	}

	#invoiceFrame iframe {
		height: 400px;
	}
}