/**
 * 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: 9999;
}

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

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

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

.thinc-company-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #1f2937;
}

.thinc-company-modal-title {
	margin: 0 0 8px 0;
	color: #1a3c4e;
	font-size: 22px;
}

.thinc-company-modal-description {
	margin: 0 0 18px 0;
	color: #4b5563;
}

.thinc-company-modal-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

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

.thinc-company-card-title {
	font-weight: 600;
	color: #111827;
	margin-bottom: 6px;
}

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

.thinc-company-modal-alert {
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fdba74;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
}

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

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

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

.thinc-team-members-list-table th {
	background: #f9fafb;
	font-weight: 600;
}

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