/* Technology Detector - Scoped under .tech-detector-wrap (theme-independent) */
.tech-detector-wrap {
    box-sizing: border-box;    
    margin: auto; 
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 0;
}

.tech-detector-wrap *,
.tech-detector-wrap *::before,
.tech-detector-wrap *::after {
	box-sizing: inherit;
}

/* ----- Card (form + features) ----- */
.tech-detector-card {
	max-width: 860px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #005C714D;
    border-radius: 22px;
    box-shadow: 0px 3px 21.01px 0px #0000001F;
    text-align: center;
	background: #fff;
}

.tech-detector-title {
	margin: 0 0 12px;
    color: #0068B3;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
	text-align: center;
}

.tech-detector-subtitle {
    margin: 0 0 26px;
    font-size: 16px;
    text-align: center;
}


.tech-detector-input-row {
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.tech-detector-url {
	flex: 1;
	min-width: 220px;
	max-width: 480px;
	padding: 0.7em 1.1em;
	border: 1px solid #99f6e4;
	border-radius: 9999px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	color: #1e293b;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tech-detector-url::placeholder {
	color: #94a3b8;
}

.tech-detector-url:focus {
	border-color: #14b8a6;
	box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.25);
	outline: none;
}

.tech-detector-submit {
  	display: inline-block;
    font-family: 'Readex Pro';
    background: #0068B3;
    color: #FFFFFF;
    border: 1px solid #0068B3;
    padding: 14px 30px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 10%;
    text-transform: uppercase;
    box-shadow: 0px 6px 6px 0px #0068B31F;
}

.tech-detector-submit:hover {
	background: #fff;
    color: #005599;
}

.tech-detector-submit:active {
	transform: scale(0.98);
}

.tech-detector-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.tech-detector-features {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    margin: 20px 0 0;
    list-style: none;
    color: #515F7C;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.tech-detector-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
	color: #515F7C;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.tech-detector-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0d9488;
	flex-shrink: 0;
}

.tech-detector-feature-icon svg {
	display: block;
}

/* ----- Loading ----- */
.tech-detector-loading {
	display: none;
	margin: 1em 0;
    padding: 0.75em 1em;
    background: #ffffff;
    border: 1px solid #005C714D;
    border-radius: 8px;
    color: #006eb4;
    font-size: 0.95rem;
}

.tech-detector-loading.is-visible {
	display: block;
}

.tech-detector-loading-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
	margin-bottom: 0.45em;
	font-weight: 600;
}

.tech-detector-loading-track {
	position: relative;
	width: 100%;
	height: 8px;
	border-radius: 9999px;
	background: #bde5ff7a;
	overflow: hidden;
}

.tech-detector-loading-fill {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, #1f323a 0%, #0b6fb6 100%);
	transition: width 0.2s ease;
}

/* ----- Error ----- */
.tech-detector-error {
	display: none;
	margin: 1em 0;
	padding: 0.75em 1em;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #991b1b;
	font-size: 0.95rem;
}

.tech-detector-error.is-visible {
	display: block;
}

.tech-detector-error-main a {
	color: inherit;
	text-decoration: underline;
	font-weight: 600;
}

.tech-detector-error-main a:hover {
	text-decoration: none;
}


.tech-detector-results-inner {
    background: #ffffff;
    border: 1px solid #005C714D;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0px 3px 21.01px 0px #0000001F;
    padding: 40px 20px;
    margin-top: 1.5em;
}

.tech-detector-results-header {
    padding: 0px;
    background: transparent;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-detector-results-title {
    margin: 0 0 0.85em;
    font-size:24px;
    font-weight: 600;
    color: #222831;
    line-height: 1.3;
}

.tech-detector-results-url-row {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin: 0;
	flex-wrap: wrap;
}

.tech-detector-results-url-link {
	color: #0068B3;
	overflow: hidden;
}

.tech-detector-results-url-link:hover {
	text-decoration: underline;
	color: #0c5c92;
}

.tech-detector-copy-url {
	flex-shrink: 0;
	padding: 0.2em 0.55em;
	font-size: 0.75rem;
	font-family: inherit;
	font-weight: 500;
	color: #1f323a;
	background: #fff;
	border: 1px solid #c7d2dc;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
	position: static;
}

.tech-detector-copy-url:hover {
	background: #f1f5f8;
	border-color: #aebbc7;
}

.tech-detector-results-count {
	margin: 0.35em 0 0;
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #5f6f7d;
	opacity: 1;
	display: inline-block;
}

.tech-detector-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	padding: 0 1.25em 0.85em;
	border-bottom: none;
	background: transparent;
	padding-right: 0;
}

.tech-detector-export {
	padding: 0.45em 0.85em;
	background: #fff;
	border: 1px solid #c7d2dc;
	border-radius: 5px;
	font-size: 0.85rem;
	font-weight: 500;
	font-family: inherit;
	color: #1f323a;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tech-detector-export:hover {
	background: #f1f5f8;
	border-color: #aebbc7;
	color: #0f2430;
}



.tech-detector-section {
	margin: 0 0 0.85em;
	border: 1px solid #dce2e8;
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
}

.tech-detector-section:last-child {
	margin-bottom: 0;
}

.tech-detector-section-title {
    margin: 0;
    padding: 22px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background: #0b6fb6;
    line-height: 1.35;
    text-align: left;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
}

.tech-detector-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    padding: 20px;
	text-align: left;
}

/* Align first column width across all sections (CMS, Hosting, WP Theme, Social, Additional Details) — desktop only */
@media (min-width: 768px) {
	.tech-detector-section .tech-detector-table th:first-child,
	.tech-detector-section .tech-detector-table td:first-child {
		width: 240px;
		min-width: 240px;
		max-width: 240px;
		box-sizing: border-box;
	}
}

.tech-detector-table {
    width: 100%;
    min-width: 520px;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: unset;
    font-size: 16px;
    color: #23323e;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #CCE3E6;
    border-spacing: 0;
}

.tech-detector-table th, .tech-detector-table td {
    padding: 18px;
    border-left: 1px solid #CCE3E6;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    border-bottom: 1px solid #CCE3E6;
	color: #000000;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tech-detector-table td:first-child {
	border-left: none;
	color: #000000;
	font-weight: 500;
}

.tech-detector-table tr:last-child td { border-bottom: none;}

.tech-detector-table th {
	background: #eef1f4;
	font-weight: 600;
	color: #000000;
}

.tech-detector-table td {
    background: #F9F9F9;
}

.tech-detector-table th {
    background: #E6E6E6;
    font-weight: 600;
    color: #30414f;
    border-left-color: #c4c3c3;
}

.tech-detector-table th:last-child {
    border-right: none;
    border-top-right-radius: 18px;
}

.tech-detector-table th:first-child {
    border-top-left-radius: 18px;
	border-left: none;
}

.tech-detector-table a {
	color: #0f6aa8;
	text-decoration: none;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tech-detector-table a:hover {
	text-decoration: underline;
}

.tech-detector-table-url {
	max-width: 100%;
}

.tech-detector-cell-tech {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #005C711A;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
}

.tech-detector-cell-tech-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35em 0.7em;
}

.tech-detector-cell-tech-text {
	line-height: 1.35;
}
 

.tech-detector-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}

.tech-detector-item {
	display: flex;
	align-items: center;
	gap: 0.6em;
	min-height: 36px;
	padding: 0.3em 0.5em 0.3em 0.35em;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.tech-detector-item:hover {
	background: #f0fdfa;
	border-color: #99f6e4;
}

.tech-detector-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	overflow: hidden;
	background: #fff; 
}

.tech-detector-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tech-detector-icon-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75em;
	font-weight: 700;
	color: #0d9488;
	background: #ccfbf1;
}

.tech-detector-item-text {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35em 0.5em;
	min-width: 0;
}

.tech-detector-name {
	font-weight: 500;
	font-size: 0.825rem;
	color: #1e293b;
}

.tech-detector-version {
	display: inline-block;
	padding: 0.15em 0.45em;
	font-size: 0.75rem;
	font-weight: 500;
	color: #64748b;
	background: #e2e8f0;
	border-radius: 4px;
	line-height: 1.3;
}

.tech-detector-empty {
	margin: 0;
	padding: 1.5em 1.75em;
	text-align: center;
	color: #64748b;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px dashed #e2e8f0;
}
.tech-detector-input:before {
   	width: 100%;
    background: linear-gradient(180deg, #FFFFFF 29.05%, #0068B3 100%);
    border-radius: 35px;
    content: "";
    display: inline-block;
    position: absolute;
    height: 100%;
    z-index: 0;
    left: 0;
    top: 0;
    opacity: 0.2;
}

.tech-detector-input input.tech-detector-url {
 	width: 100%;
    border: 1px solid #0068B3;
	color: rgba(0,104,179,0.5);
    background: #F4FAFF;
    padding: 15px 20px;
    border-radius: 30px;
    font-family: 'Readex Pro';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
	z-index: 1;
    position: relative;
}
.tech-detector-input input.tech-detector-url::placeholder {
 	color: rgba(0,104,179,0.5);
}
.tech-detector-input input.tech-detector-url:focus {
    outline: none;
    box-shadow: none;
}

.tech-detector-input {
    position: relative;
    width: 100%;
    max-width: 490px;
    padding: 6px;
	font-size: 16px;
    border-radius: 35px;
}

.tech-detector-dns-provider-info {
    margin: 0 0 20px 0;
    padding: 7px 15px;
    background: #ffffff;
    border: 1px solid #0b6fb63b;
    border-radius: 8px;
    display: inline-flex;
    min-width: 280px;
    align-items: center;
    gap: 10px;
}

.tech-detector-dns-provider-info h4 {
	margin: 0 0 15px 0;
	font-size: 13px;
	font-weight: 700;
	color: #000;
	text-transform: none;
	letter-spacing: 0;
}

.tech-detector-dns-provider-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: none;
    letter-spacing: 0;
}


.tech-detector-dns-provider-info .tech-detector-icon-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.tech-detector-dns-provider-info .tech-detector-icon-inline img {
	max-width: 100%;
	height: auto;
}

.tech-detector-dns-provider-info .tech-detector-cell-tech-text {
	font-size: 14px;
	font-weight: 500;
	color: #000;
}

.tech-detector-dns-provider-info + .tech-detector-table {
	margin-top: 0;
}

.tech-detector-table code {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 4px 8px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.95em; 
	font-weight: 500;
	letter-spacing: 0.3px;
}

@media screen and (max-width:767px) {
	.tech-detector-subtitle { margin: 0 0 10px; font-size: 16px;}
	.tech-detector-title { font-size: 24px; }
	.tech-detector-features {gap: 10px;}
	.tech-detector-copy-url { position: static; }
	.tech-detector-sections { padding: 0 0.4em 0.8em; }
	.tech-detector-table { min-width:100%; font-size: 0.78rem; border-radius: 10px; }
	.tech-detector-sections * { box-sizing: border-box;}
	.tech-detector-table-wrap {
		overflow-x: auto;
		padding: 20px;
		width: 100%;
		max-width: 100%;
	}

	.tech-detector-section-title { padding: 15px; font-size: 18px; }
	.tech-detector-table a {    word-break: break-word;}
	.tech-detector-table th, .tech-detector-table td { padding: 5px ; font-size: 14px; } 
	.tech-detector-results-inner { padding: 20px 10px; }
	.tech-detector-table-wrap { padding: 10px;}
	.tech-detector-table th:first-child { border-top-left-radius: 10px; }
	.tech-detector-table th:last-child { border-right: none; border-top-right-radius: 10px; }
	.tech-detector-cell-tech { padding: 5px 12px; font-size: 12px;     gap: 5px; }
	.tech-detector-icon { width: 18px; height: 18px;}
	.tech-detector-results-header { flex-direction: column; gap: 10px;}
	.tech-detector-actions { margin-left: auto;}
	.tech-detector-results-title { text-align: center; width: 100%; }
	.tech-detector-cell-tech-list { gap: 5px; }

}
 
.tech-detector-additional-opt6 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.tech-detector-opt6-col .tech-detector-table {
	min-width: 0;
}

@media screen and (max-width: 900px) {
	.tech-detector-additional-opt6 {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) { 
	.tech-detector-card { padding: 15px 10px; }
}