/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.custom-calendar {
    font-family: Arial, sans-serif;
}

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

.calendar-table th,
.calendar-table td {
    padding: 5px;
    text-align: center;
    border: none;
	background:#fff ;
}

.calendar-table th {
    background-color: #fff;
}

.calendar-table .has-events {
    position: relative;
}

.calendar-table .has-events::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
	transform:translatex(-50%);
    height: 8px;
    width: 8px;
    background-color: red;
    border-radius: 50%;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-nav a {
    text-decoration: none;
    color: #333;
}

.calendar-nav a:hover {
    color: #0073aa;
}

.thinc-company-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	box-sizing: border-box;
}

.thinc-company-modal.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.thinc-company-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.thinc-company-modal-dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(440px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	margin: 0;
	background: #fff;
	border-radius: 16px;
	padding: 28px 28px 22px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	text-align: left;
}

.thinc-company-modal-dialog,
.thinc-company-modal-dialog .thinc-company-modal-title,
.thinc-company-modal-dialog .thinc-company-modal-description,
.thinc-company-modal-dialog .thinc-company-card-title,
.thinc-company-modal-dialog .thinc-company-modal-alert,
.thinc-company-modal-dialog .thinc-company-modal-close,
.thinc-company-modal-dialog .thinc-company-login-btn {
	font-family: inherit !important;
}

.thinc-company-modal-dialog .thinc-company-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #f1f5f9;
	box-shadow: none;
	color: #334155;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	appearance: none;
}

.thinc-company-modal-dialog .thinc-company-modal-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.thinc-company-modal-title {
	margin: 0 36px 8px 0;
	color: #1a3c4e;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.thinc-company-modal-description {
	margin: 0 0 18px 0;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.45;
}

.thinc-company-modal-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0 0 14px;
}

.thinc-company-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-sizing: border-box;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px 14px;
	background: #f8fafc;
}

.thinc-company-card-title {
	margin: 0;
	color: #111827;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.thinc-company-card-email {
	color: #2563eb;
	font-size: 13px;
	word-break: break-word;
}

.thinc-company-modal-dialog .thinc-company-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	min-height: 36px;
	margin: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 8px;
	background: #1a3c4e;
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	appearance: none;
}

.thinc-company-modal-dialog .thinc-company-login-btn:hover {
	background: #143244;
	color: #fff;
}

.thinc-company-modal-alert {
	box-sizing: border-box;
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fdba74;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.4;
	white-space: normal;
}

.thinc-company-reset-btn {
	margin-top: 10px;
	padding: 8px 12px;
	border: none;
	border-radius: 6px;
	background: #1a3c4e;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
}

.thinc-company-reset-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

.thinc-org-login-help {
	padding: 10px 0;
}

.thinc-org-login-box {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px 20px;
	background: #fff;
	max-width: 640px;
}

.thinc-org-login-box h3 {
	margin: 0 0 12px 0;
	color: #1a3c4e;
}

.thinc-org-login-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.thinc-org-login-form input {
	flex: 1;
	min-width: 220px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
}

.thinc-org-login-form button {
	padding: 10px 16px;
	border: none;
	border-radius: 6px;
	background: #1a3c4e;
	color: #fff;
	cursor: pointer;
}

.thinc-org-login-results {
	display: grid;
	gap: 12px;
}

.thinc-org-login-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	background: #f9fafb;
}

.thinc-org-login-title {
	font-weight: 600;
	margin-bottom: 8px;
	color: #111827;
}

.thinc-org-login-request {
	padding: 8px 12px;
	border: none;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
}

.thinc-org-login-request:disabled {
	opacity: 0.7;
	cursor: default;
}

.thinc-org-login-note {
	margin-top: 6px;
	font-size: 12px;
	color: #6b7280;
}

.thinc-org-login-empty {
	color: #6b7280;
	font-size: 13px;
}

/* Member profile completion shortcode (single line) */
.thinc-member-profile-completion {
	margin: 0 0 1em;
	font-size: inherit;
	line-height: inherit;
}

.thinc-member-profile-completion--notice {
	color: #374151;
}

.thinc-member-profile-completion-alert {
	margin: 0.75em 0 0;
	padding: 10px 12px;
	border-radius: 6px;
	border-left: 4px solid #d97706;
	background: #fffbeb;
	color: #92400e;
	font-size: 0.95em;
	line-height: 1.45;
}

.thinc-member-profile-completion-alert__link {
	font-weight: 600;
	color: #b45309;
	text-decoration: underline;
}

.thinc-member-profile-completion-alert__link:hover,
.thinc-member-profile-completion-alert__link:focus {
	color: #92400e;
}

.thinc-member-profile-completion-missing {
	margin: 0.5em 0 1em;
	padding: 10px 12px;
	border-radius: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 0.92em;
}

.thinc-member-profile-completion-missing__title {
	margin: 0 0 6px;
	font-weight: 600;
	color: #334155;
}

.thinc-member-profile-completion-missing__list {
	margin: 0;
	padding-left: 1.2em;
	color: #475569;
}

.thinc-member-profile-completion-missing__list li {
	margin: 0.2em 0;
}

/* Edit account: profile image preview */
.thinc-profile-image-field .thinc-profile-image-preview {
	margin-bottom: 8px;
	min-height: 1px;
}

.thinc-profile-image-preview .thinc-profile-image-preview-img {
	display: block;
	max-width: 150px;
	height: auto;
	border-radius: 4px;
	vertical-align: top;
}

/* Edit account: save overlay */
.thinc-account-saving-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 24, 39, 0.45);
}

.thinc-account-saving-overlay__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 24px 32px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}

.thinc-account-saving-overlay__spinner {
	display: block;
	width: 36px;
	height: 36px;
	border: 3px solid #e5e7eb;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: thinc-account-spin 0.75s linear infinite;
}

@keyframes thinc-account-spin {
	to {
		transform: rotate(360deg);
	}
}

/* [team_members_list] table */
.thinc-team-members-list-notice {
	padding: 12px 14px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #374151;
}

.thinc-team-members-list-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: #fff;
	border: 1px solid #e4e9f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(19, 41, 61, 0.05), 0 10px 28px rgba(19, 41, 61, 0.06);
}

.thinc-team-members-list-table th,
.thinc-team-members-list-table td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #f1f4f8;
	text-align: left;
	vertical-align: middle;
}

.thinc-team-members-list-table th {
	background: #f8fafc;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

.thinc-team-captain-badge {
	display: inline-block;
	margin-left: 8px;
	background: #00a8bd;
	padding: 3px;
	color: #fff;
	font-size: 12px;
	border-radius: 5px;
	vertical-align: middle;
}

.thinc-team-roster-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	margin-right: 6px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #0f172a;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}

.thinc-team-roster-btn:hover {
	border-color: #1a3c4e;
	color: #1a3c4e;
}

.thinc-team-roster-btn-primary {
	background: #1a3c4e;
	border-color: #1a3c4e;
	color: #fff;
}

.thinc-team-roster-btn-primary:hover {
	background: #0f2a38;
	border-color: #0f2a38;
	color: #fff;
}

.thinc-team-roster-remove {
	color: #b91c1c;
	border-color: #fecaca;
}

.thinc-team-roster-remove:hover {
	color: #fff;
	background: #b91c1c;
	border-color: #b91c1c;
}

.thinc-team-roster-muted {
	color: #94a3b8;
}

.thinc-team-roster-message {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.thinc-team-roster-message.is-success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.thinc-team-roster-message.is-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.thinc-team-roster-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.thinc-team-roster-modal[hidden] {
	display: none !important;
}

.thinc-team-roster-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.thinc-team-roster-modal-dialog {
	position: relative;
	width: min(480px, 96vw);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
	overflow: hidden;
}

.thinc-team-roster-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e7eb;
	background: #f8fafc;
}

.thinc-team-roster-modal-header h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	color: #0f172a;
}

.thinc-team-roster-modal-close {
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
	padding: 0 4px;
}

.thinc-team-roster-edit-form {
	padding: 18px;
}

.thinc-team-roster-field {
	margin-bottom: 14px;
}

.thinc-team-roster-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #0f172a;
}

.thinc-team-roster-field input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
}

.thinc-team-roster-modal-actions {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

body.thinc-team-roster-modal-open {
	overflow: hidden;
}

.thinc-order-actions {
	position: relative;
	display: inline-block;
}

.thinc-order-actions-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	cursor: pointer;
	line-height: 1;
}

.thinc-order-actions-toggle:hover,
.thinc-order-actions.is-open .thinc-order-actions-toggle {
	border-color: #1a3c4e;
	color: #1a3c4e;
}

.thinc-order-actions-dots {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.thinc-order-actions-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	min-width: 180px;
	padding: 6px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.thinc-order-actions-menu[hidden] {
	display: none;
}

.thinc-order-actions-item {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	color: #111827;
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.thinc-order-actions-item:hover,
.thinc-order-actions-item:focus {
	background: #f3f4f6;
	color: #1a3c4e;
	outline: none;
}

.thinc-order-actions-item.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.thinc-subscription-cancel-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.thinc-subscription-cancel-modal.is-open {
	display: block;
}

body.thinc-subscription-cancel-modal-open {
	overflow: hidden;
}

.thinc-subscription-cancel-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
}

.thinc-subscription-cancel-modal-dialog {
	position: relative;
	max-width: 480px;
	margin: 12vh auto;
	background: #fff;
	border-radius: 12px;
	padding: 28px 24px 22px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.thinc-subscription-cancel-modal-title {
	margin: 0 0 24px;
	color: #92400e;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 700;
	text-align: center;
}

.thinc-subscription-cancel-modal-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.thinc-subscription-cancel-btn {
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1.2;
}

.thinc-subscription-cancel-btn--confirm {
	background: #b91c1c;
	border-color: #b91c1c;
	color: #fff;
}

.thinc-subscription-cancel-btn--confirm:hover,
.thinc-subscription-cancel-btn--confirm:focus {
	background: #991b1b;
	border-color: #991b1b;
	color: #fff;
}

.thinc-subscription-cancel-btn--abort {
	background: #fff;
	border-color: #94a3b8;
	color: #334155;
}

.thinc-subscription-cancel-btn--abort:hover,
.thinc-subscription-cancel-btn--abort:focus {
	background: #f8fafc;
	border-color: #64748b;
	color: #0f172a;
}

.thinc-team-dialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(19, 41, 61, 0.45);
}

.thinc-team-dialog.is-open {
	display: flex;
}

.thinc-team-dialog-card {
	background: #fff;
	width: min(440px, 92vw);
	border-radius: 16px;
	padding: 24px 24px 20px;
	box-shadow: 0 24px 60px rgba(19, 41, 61, 0.22);
}

.thinc-team-dialog-title {
	margin: 0 0 8px;
	font-size: 18px;
	color: #13293d;
}

.thinc-team-dialog-message {
	margin: 0 0 20px;
	color: #475569;
	line-height: 1.5;
}

.thinc-team-dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.thinc-team-dialog .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	cursor: pointer;
	font-weight: 600;
}

.thinc-team-dialog .button-primary {
	background: #5b4dff;
	border-color: #5b4dff;
	color: #fff;
}