/* Lindorse LinkedIn Tools - Public Styles */

.llt-analyzer {
	--llt-primary: #0a66c2;
	--llt-primary-dark: #004182;
	--llt-success: #057642;
	--llt-warning: #b24020;
	--llt-info: #5f5f5f;
	--llt-bg: #f3f6f8;
	--llt-card: #ffffff;
	--llt-border: #d0d7de;
	--llt-text: #191919;
	--llt-muted: #666666;
	--llt-radius: 12px;
	--llt-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

	font-family: inherit;
	max-width: 760px;
	margin: 0 auto;
	color: var(--llt-text);
	line-height: 1.7;
}

.llt-analyzer__header {
	text-align: center;
	margin-bottom: 2rem;
}

.llt-analyzer__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--llt-primary-dark);
}

.llt-analyzer__subtitle {
	color: var(--llt-muted);
	margin: 0;
	font-size: 1rem;
}

/* Steps */

.llt-steps {
	display: grid;
	gap: 0.65rem;
	margin-bottom: 1.5rem;
}

.llt-step {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--llt-bg);
	border-radius: 8px;
	font-size: 0.9rem;
}

.llt-step__num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: var(--llt-primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}

/* PDF dropzone */

.llt-form--pdf {
	padding: 1.25rem;
}

.llt-dropzone {
	border: 2px dashed var(--llt-border);
	border-radius: var(--llt-radius);
	padding: 2.5rem 1.5rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	background: #fafbfc;
}

.llt-dropzone:hover,
.llt-dropzone:focus {
	outline: none;
	border-color: var(--llt-primary);
	background: #f0f7ff;
}

.llt-dropzone--active {
	border-color: var(--llt-primary);
	background: #e8f4fd;
}

.llt-dropzone--ready {
	border-color: var(--llt-success);
	background: #f0fdf4;
	border-style: solid;
}

.llt-dropzone__icon {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.llt-dropzone__title {
	font-weight: 700;
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.llt-dropzone__hint {
	margin: 0;
	color: var(--llt-muted);
	font-size: 0.85rem;
}

.llt-dropzone__filename {
	margin: 0.75rem 0 0;
	font-weight: 600;
	color: var(--llt-success);
	font-size: 0.9rem;
}

.llt-manual {
	margin-top: 1.25rem;
}

.llt-manual summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--llt-muted);
	padding: 0.5rem 0;
}

.llt-form--manual {
	margin-top: 1rem;
	box-shadow: none;
	border-style: dashed;
}

/* Form */

.llt-form {
	background: var(--llt-card);
	border: 1px solid var(--llt-border);
	border-radius: var(--llt-radius);
	padding: 1.5rem;
	box-shadow: var(--llt-shadow);
}

.llt-form__grid {
	display: grid;
	gap: 1.25rem;
}

.llt-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
}

.llt-required {
	color: var(--llt-warning);
}

.llt-form__field input[type="text"],
.llt-form__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--llt-border);
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fafbfc;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.llt-form__field input:focus,
.llt-form__field textarea:focus {
	outline: none;
	border-color: var(--llt-primary);
	box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}

.llt-form__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8rem;
	color: var(--llt-muted);
}

.llt-form__checks {
	border: 1px solid var(--llt-border);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1.25rem 0 0;
}

.llt-form__checks legend {
	font-weight: 600;
	padding: 0 0.5rem;
	font-size: 0.95rem;
}

.llt-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	cursor: pointer;
	font-size: 0.9rem;
}

.llt-check:last-child {
	margin-bottom: 0;
}

.llt-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--llt-primary);
}

.llt-form__actions {
	margin-top: 1.5rem;
	text-align: center;
}

/* Buttons */

.llt-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 24px;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.llt-btn--primary {
	background: var(--llt-primary);
	color: #fff;
	border-color: var(--llt-primary);
}

.llt-btn--primary:hover {
	background: var(--llt-primary-dark);
	border-color: var(--llt-primary-dark);
	color: #fff;
}

.llt-btn--secondary {
	background: transparent;
	color: var(--llt-primary);
	border-color: var(--llt-primary);
}

.llt-btn--secondary:hover {
	background: rgba(10, 102, 194, 0.08);
	color: var(--llt-primary-dark);
}

.llt-btn--ghost {
	background: transparent;
	color: var(--llt-muted);
	border-color: var(--llt-border);
	margin-top: 1rem;
}

.llt-btn--ghost:hover {
	border-color: var(--llt-primary);
	color: var(--llt-primary);
}

.llt-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Error */

.llt-error {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	background: #fde8e8;
	border: 1px solid #f5c6c6;
	border-radius: 8px;
	color: #9b1c1c;
	font-size: 0.9rem;
}

.llt-error--banner {
	margin-bottom: 1.25rem;
}

/* LinkedIn panel */

.llt-linkedin-panel {
	text-align: center;
	margin-bottom: 1.5rem;
}

.llt-btn--linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #0a66c2;
	color: #fff;
	border-color: #0a66c2;
	padding: 0.85rem 1.75rem;
	text-decoration: none;
}

.llt-btn--linkedin:hover {
	background: #004182;
	border-color: #004182;
	color: #fff;
}

.llt-linkedin-icon {
	flex-shrink: 0;
}

.llt-linkedin-panel__hint {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: var(--llt-muted);
}

.llt-linkedin-connected {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: var(--llt-bg);
	border: 1px solid var(--llt-border);
	border-radius: var(--llt-radius);
	text-align: right;
}

.llt-linkedin-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.llt-linkedin-connected__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.9rem;
}

.llt-linkedin-connected__info strong {
	font-size: 1rem;
}

.llt-linkedin-connected__info span {
	color: var(--llt-muted);
}

.llt-linkedin-connected__info a {
	color: var(--llt-primary);
	font-size: 0.85rem;
	text-decoration: none;
}

.llt-linkedin-connected__info a:hover {
	text-decoration: underline;
}

.llt-divider {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.5rem 0;
	color: var(--llt-muted);
	font-size: 0.85rem;
}

.llt-divider::before,
.llt-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--llt-border);
}

.llt-notice {
	padding: 0.85rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	margin-top: 0.75rem;
	text-align: right;
}

.llt-notice--info {
	background: #f0f7ff;
	border: 1px solid #b6d4fe;
	color: #084298;
}

.llt-report__notice {
	margin-bottom: 1.25rem;
}

/* Loading */

.llt-loading {
	text-align: center;
	padding: 2rem;
	color: var(--llt-muted);
}

.llt-loading::after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	border: 2px solid var(--llt-border);
	border-top-color: var(--llt-primary);
	border-radius: 50%;
	animation: llt-spin 0.7s linear infinite;
	vertical-align: middle;
}

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

/* Report */

.llt-results {
	margin-top: 2rem;
}

.llt-report {
	background: var(--llt-card);
	border: 1px solid var(--llt-border);
	border-radius: var(--llt-radius);
	padding: 1.5rem;
	box-shadow: var(--llt-shadow);
}

.llt-report__score-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.25rem;
	border-radius: var(--llt-radius);
	margin-bottom: 1.5rem;
	background: var(--llt-bg);
}

.llt-grade--excellent .llt-report__score-circle { border-color: #057642; color: #057642; }
.llt-grade--good .llt-report__score-circle { border-color: #0a66c2; color: #0a66c2; }
.llt-grade--average .llt-report__score-circle { border-color: #b28600; color: #b28600; }
.llt-grade--weak .llt-report__score-circle,
.llt-grade--poor .llt-report__score-circle { border-color: #b24020; color: #b24020; }

.llt-report__score-circle {
	flex-shrink: 0;
	width: 90px;
	height: 90px;
	border: 4px solid var(--llt-primary);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
}

.llt-report__score-number {
	font-size: 2rem;
	font-weight: 800;
}

.llt-report__score-max {
	font-size: 0.75rem;
	color: var(--llt-muted);
}

.llt-report__grade {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	font-weight: 700;
}

.llt-report__score-desc {
	margin: 0;
	color: var(--llt-muted);
	font-size: 0.9rem;
}

.llt-report__section-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.llt-report__bars {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.llt-bar__header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
}

.llt-bar__label {
	font-weight: 600;
}

.llt-bar__value {
	color: var(--llt-muted);
}

.llt-bar__track {
	height: 8px;
	background: #e8ecf0;
	border-radius: 4px;
	overflow: hidden;
}

.llt-bar__fill {
	height: 100%;
	background: var(--llt-primary);
	border-radius: 4px;
	transition: width 0.6s ease;
}

.llt-grade--excellent .llt-bar__fill { background: #057642; }
.llt-grade--average .llt-bar__fill { background: #b28600; }
.llt-grade--weak .llt-bar__fill,
.llt-grade--poor .llt-bar__fill { background: #b24020; }

/* Tips */

.llt-tips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.llt-tip {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	background: #f8f9fa;
	border-right: 3px solid var(--llt-info);
}

.llt-tip--error {
	background: #fef2f2;
	border-right-color: #b24020;
}

.llt-tip--warning {
	background: #fffbeb;
	border-right-color: #b28600;
}

.llt-tip--info {
	background: #f0f7ff;
	border-right-color: var(--llt-primary);
}

.llt-tip__badge {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.06);
}

.llt-tip__text {
	flex: 1;
}

/* CTA */

.llt-report__cta {
	margin-top: 1.5rem;
	padding: 1.25rem;
	background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
	border-radius: var(--llt-radius);
	text-align: center;
}

.llt-report__cta p {
	margin: 0 0 1rem;
	font-weight: 600;
}

.llt-report__cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

/* Responsive */

@media (max-width: 600px) {
	.llt-report__score-card {
		flex-direction: column;
		text-align: center;
	}

	.llt-analyzer__title {
		font-size: 1.4rem;
	}

	.llt-form {
		padding: 1rem;
	}
}
