/* Bästa kreditkortet jämförelse: tabell, verktyg och kortsidor */

.bkj { margin: 1.6em 0 2.2em; }
.bkj__verktyg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bkj__filter { display: flex; flex-wrap: wrap; gap: 8px; }
.bkj-filter {
	min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 1px solid #b8d4f4; background: #fff;
	color: #062946; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.bkj-filter:hover { border-color: #1968b8; }
.bkj-filter.ar-vald { background: #062946; border-color: #062946; color: #fff; }
.bkj__sortera { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #5a6275; }
.bkj__sortera select { min-height: 40px; border: 1px solid #a8b3c5; border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 15px; color: #1a1f2e; background: #fff; width: auto; }
.bkj__antal { margin: 0 0 10px !important; font-size: 14.5px; color: #5a6275; }
.bkj__ram { width: 100%; }

.entry-content table.bkj__tabell { border: 1px solid #dce3ed; border-radius: 14px; box-shadow: 0 1px 3px rgba(6, 41, 70, .08); font-size: 15px; margin: 0; }
.entry-content table.bkj__tabell th { background: #f7f9fc; color: #5a6275; font-weight: 700; font-size: 13.5px; border-bottom: 1px solid #dce3ed; white-space: nowrap; }
.entry-content table.bkj__tabell td { vertical-align: middle; padding: 14px 12px; }
.entry-content table.bkj__tabell tbody tr:nth-child(even) { background: #fff; }
.entry-content table.bkj__tabell tbody tr:hover { background: #f7f9fc; }
.bkj-rad[hidden] { display: none !important; }
.bkj-rad__kort { min-width: 250px; }
.bkj-rad__kort { display: flex; align-items: center; gap: 12px; }
.bkj-rad__plats {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #eef2f8; color: #062946;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.bkj-rad:nth-child(1):not([hidden]) .bkj-rad__plats { background: linear-gradient(135deg, #f3d27a, #c8962c); color: #fff; }
.bkj-rad__bild { width: 64px; height: 41px; object-fit: cover; border-radius: 6px !important; flex-shrink: 0; box-shadow: 0 2px 6px rgba(6, 41, 70, .18); }
.bkj-rad__bild--tom { display: inline-block; background: linear-gradient(135deg, #062946, #1968b8); }
.bkj-rad__namn { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; min-width: 0; }
.entry-content .bkj-rad__namn a { font-weight: 800; color: #062946; text-decoration: none; font-size: 16px; }
.entry-content .bkj-rad__namn a:hover { color: #1968b8; text-decoration: underline; }
.bkj-rad__utgivare { font-size: 13px; color: #5a6275; }
.bkj-rad__bast { font-size: 13px; color: #0d7d4f; font-weight: 600; }
.bkj-rad__knapp { text-align: right; white-space: nowrap; }
.entry-content a.bkj-knapp, .bkj-knapp {
	display: inline-flex; align-items: center; gap: 6px; background: #1968b8; color: #fff !important; text-decoration: none !important;
	padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 15px;
}
.entry-content a.bkj-knapp:hover { background: #134e8c; }
.bkj-knapp .bkkc-ad-badge { font-size: 11px; font-weight: 600; opacity: .85; background: rgba(255, 255, 255, .18); padding: 1px 6px; border-radius: 4px; text-transform: none; }
.entry-content a.bkj-las { display: block; margin-top: 6px; font-size: 13.5px; color: #1968b8; }
span.bkj-knapp.bkkc-cta-inactive { background: #eef2f8; color: #5a6275 !important; }
.bkj__upplysning { font-size: 14px; color: #5a6275; margin: 12px 0 0 !important; }

@media (max-width: 860px) {
	.bkj__verktyg { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
	.bkj__filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; min-width: 0; max-width: 100%; }
	.bkj__sortera { max-width: 100%; }
	.bkj__sortera select { min-width: 0; flex: 1 1 auto; }
	.bkj-filter { flex-shrink: 0; }
	.entry-content table.bkj__tabell, .entry-content table.bkj__tabell tbody { display: block; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
	.entry-content table.bkj__tabell thead { position: absolute; left: -9999px; top: -9999px; }
	.entry-content table.bkj__tabell tr {
		display: grid; grid-template-columns: 1fr 1fr; background: #fff !important; border: 1px solid #dce3ed;
		border-radius: 14px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(6, 41, 70, .08); overflow: hidden;
	}
	.entry-content table.bkj__tabell td { display: block; border: 0; border-top: 1px solid #eef2f8; padding: 10px 14px; font-size: 15px; }
	.entry-content table.bkj__tabell td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: #5a6275; margin-bottom: 1px; }
	.entry-content table.bkj__tabell td.bkj-rad__kort { grid-column: 1 / -1; display: flex; border-top: 0; background: #f7f9fc; padding: 14px; }
	.entry-content table.bkj__tabell td.bkj-rad__kort::before, .entry-content table.bkj__tabell td.bkj-rad__knapp::before { content: none; }
	.entry-content table.bkj__tabell td.bkj-rad__knapp { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; white-space: normal; }
	.entry-content a.bkj-las { margin-top: 0; }
	.bkj-rad__kort { min-width: 0; }
}

/* Kortsidor */
.bkj-skribent { display: flex; align-items: center; gap: 12px; background: #f7f9fc; border: 1px solid #dce3ed; border-radius: 12px; padding: 12px 16px; margin: 0 0 1.6em; font-size: 15px; line-height: 1.45; }
.bkj-skribent__bild { width: 48px; height: 48px; border-radius: 50% !important; flex-shrink: 0; }
.bkj-skribent__text { display: flex; flex-direction: column; gap: 2px; }
.entry-content .bkj-skribent a { font-weight: 700; }
.bkj-skribent__text span:last-child { color: #5a6275; font-size: 14px; }
.bkj-betyg { font-weight: 600; color: #062946; margin-left: 8px; font-size: 15px; }
.bkkc-single-rating { align-items: center; flex-wrap: wrap; }
.bkj-stangd { display: inline-block; background: #fdf6e7; border: 1px solid #f0d9a8; color: #92400e; font-weight: 700; padding: 11px 18px; border-radius: 10px; }

/* Verktyg: staplar, räknare, duell, kortväljare, kravkoll och filter */
.bkv { background: #f7f9fc; border: 1px solid #dce3ed; border-radius: 16px; padding: 20px; margin: 1.6em 0 2em; min-width: 0; max-width: 100%; color: #1a1f2e; }
.entry-content.entry-content .bkv ol, .entry-content.entry-content .bkv ul { list-style: none; margin: 0; padding: 0; }
.entry-content.entry-content .bkv li { margin: 0; }
.entry-content.entry-content .bkv p { margin: 0; }
.bkv button, .bkv input, .bkv select { font: inherit; }
.bkv__titel { font-weight: 800; font-size: 17px; color: #062946; margin: 0 0 12px !important; }
.bkv__slutsats { font-weight: 600; font-size: 15.5px; color: #062946; margin: 12px 0 0 !important; }
.bkv__slutsats:empty { display: none; }
.bkv__info { font-size: 13.5px; color: #5a6275; margin: 12px 0 0 !important; }
.bkv__mellan { font-weight: 700; font-size: 15px; color: #062946; margin: 18px 0 8px !important; }

.bkv-flikar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bkv-flik {
	min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 1px solid #b8d4f4; background: #fff;
	color: #062946; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.bkv-flik:hover { border-color: #1968b8; }
.bkv-flik.ar-vald { background: #062946; border-color: #062946; color: #fff; }
.bkv-flik:focus-visible, .bkv-chip input:focus-visible + span { outline: 3px solid #f5c24c; outline-offset: 2px; }

.bkv-falten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-bottom: 14px; }
.bkv-falt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bkv-falt--hel { margin-bottom: 14px; }
.bkv-falt__namn { font-weight: 600; font-size: 15px; color: #062946; }
.bkv-falt__rad { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.entry-content .bkv input.bkv-falt__reglage { width: 100%; min-height: 0; padding: 0; border: 0; background: transparent; accent-color: #1968b8; cursor: pointer; margin: 0; }
.bkv-falt__tal { display: inline-flex; align-items: center; gap: 6px; color: #5a6275; font-size: 14.5px; white-space: nowrap; }
.entry-content .bkv input[type="number"], .entry-content .bkv input[type="date"], .entry-content .bkv select.bkv-val {
	height: 44px; min-height: 44px; box-sizing: border-box; border: 1px solid #a8b3c5; border-radius: 10px; padding: 6px 10px; font-size: 16px; line-height: 1.2; color: #1a1f2e; background: #fff; margin: 0; box-shadow: none;
}
.entry-content .bkv input[type="number"] { width: 8.2em; text-align: right; }
.entry-content .bkv input[type="date"], .entry-content .bkv select.bkv-val { width: 100%; max-width: 100%; }
.bkv-egen { grid-column: 1 / -1; }
.bkv-egen[hidden] { display: none; }
.bkv-kryssen { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -2px 0 12px; }
.bkv-kryss { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.entry-content .bkv-kryss input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: #1968b8; }

.bkv-lista { display: flex; flex-direction: column; gap: 6px; margin-top: 4px !important; }
.bkv-rad { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 6px 8px; border-radius: 10px; }
.bkv-rad__namn { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.3; color: #062946; overflow-wrap: anywhere; }
.entry-content .bkv-rad__namn a { color: #062946; text-decoration: none; }
.entry-content .bkv-rad__namn a:hover { color: #1968b8; text-decoration: underline; }
.bkv-rad__spar { position: relative; height: 24px; background: #e6ecf4; border-radius: 999px; overflow: hidden; }
.bkv-rad__fyll { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1968b8, #062946); transition: width .4s ease, left .4s ease; }
.bkv-rad.ar-bast .bkv-rad__fyll { background: linear-gradient(90deg, #12a06b, #0d7d4f); }
.bkv-rad.ar-varning .bkv-rad__fyll { background: linear-gradient(90deg, #e06060, #b42318); }
.bkv-rad.ar-markerad { background: #fff6dc; box-shadow: inset 0 0 0 2px #f5c24c; }
.bkv-rad__varde { font-weight: 800; font-size: 15px; color: #062946; white-space: nowrap; text-align: right; }
.bkv-rad__delar { grid-column: 2 / -1; font-size: 13px; color: #5a6275; line-height: 1.4; }
.bkv-rad__spar--netto::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #8d99ab; }
.bkv-rad__spar--netto .bkv-rad__fyll { position: absolute; top: 0; border-radius: 4px; background: linear-gradient(90deg, #12a06b, #0d7d4f); }
.bkv-rad.ar-minus .bkv-rad__fyll { background: linear-gradient(90deg, #e06060, #b42318); }
.bkv-tagg { display: inline-block; width: fit-content; font-weight: 600; font-size: 12px; line-height: 1.4; color: #5a6275; background: #eef2f8; border-radius: 999px; padding: 2px 8px; }

.bkv-resultat__text { font-size: 15.5px; line-height: 1.55; margin: 12px 0 0 !important; }
.bkv-resultat__text.ar-varning { color: #8a1c12; background: #fdecec; border-radius: 10px; padding: 10px 12px; }
.bkv-siffror { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 6px; }
.bkv-siffror--tva { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bkv-siffra { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid #dce3ed; border-radius: 12px; padding: 12px 14px; min-width: 0; }
.bkv-siffra__namn { font-size: 13px; color: #5a6275; overflow-wrap: anywhere; }
.bkv-siffra__tal { font-weight: 800; font-size: 19px; color: #062946; line-height: 1.25; }
.bkv-siffra.ar-stor .bkv-siffra__tal { font-size: 24px; color: #1968b8; }
.bkv-siffra.ar-bast { border-color: #12a06b; box-shadow: inset 0 0 0 1px #12a06b; }
.bkv-siffra.ar-bast .bkv-siffra__tal { color: #0d7d4f; }
.bkv-siffra.ar-minus .bkv-siffra__tal { color: #b42318; }

.bkv-diagram:not(:empty) { margin-top: 14px; background: #fff; border: 1px solid #dce3ed; border-radius: 12px; padding: 10px 8px 4px; }
.bkv-svg { display: block; width: 100%; height: auto; }
.bkv-svg__linje { stroke: #e3e9f2; stroke-width: 1; }
.bkv-svg__text { fill: #5a6275; font-size: 12px; }
.bkv-svg__yta { fill: rgba(25, 104, 184, .14); }
.bkv-svg__kurva { fill: none; stroke: #1968b8; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.bkv-diagram__text { font-size: 13px; color: #5a6275; text-align: center; margin: 2px 0 6px !important; }

.bkv-duell__huvud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 12px; }
.bkv-duell__kort { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid #dce3ed; border-radius: 12px; padding: 14px 10px; min-width: 0; }
.bkv-duell__bild { width: 130px; max-width: 100%; height: auto; border-radius: 8px !important; box-shadow: 0 3px 10px rgba(6, 41, 70, .18); }
.bkv-duell__namn { font-weight: 800; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.entry-content .bkv-duell__namn a { color: #062946; text-decoration: none; }
.bkv-duell__rader { display: flex; flex-direction: column; gap: 10px; }
.bkv-duell__rad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; background: #fff; border: 1px solid #e3e9f2; border-radius: 12px; padding: 10px 14px; }
.bkv-duell__etikett { grid-column: 1 / -1; text-align: center; font-weight: 700; font-size: 13.5px; color: #5a6275; }
.bkv-duell__cell { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bkv-duell__cell--a { align-items: flex-end; text-align: right; }
.bkv-duell__varde { font-weight: 700; font-size: 15.5px; color: #062946; }
.bkv-duell__spar { display: flex; width: 100%; height: 12px; background: #e6ecf4; border-radius: 999px; overflow: hidden; }
.bkv-duell__cell--a .bkv-duell__spar { justify-content: flex-end; }
.bkv-duell__fyll { display: block; height: 100%; border-radius: 999px; background: #9ec2ea; transition: width .4s ease; }
.bkv-duell__cell.ar-bast .bkv-duell__fyll { background: #12a06b; }
.bkv-duell__cell.ar-bast .bkv-duell__varde { color: #0d7d4f; }

.bkv-fragor { display: flex; flex-direction: column; gap: 14px; }
.entry-content .bkv-fraga { border: 0; padding: 0; margin: 0; min-width: 0; }
.bkv-fraga legend { font-weight: 700; font-size: 15.5px; color: #062946; margin-bottom: 8px; padding: 0; }
.bkv-fraga__svar { display: flex; flex-wrap: wrap; gap: 8px; }
.bkv-chip { position: relative; cursor: pointer; }
.bkv-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bkv-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 1px solid #b8d4f4; background: #fff; color: #062946; font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.bkv-chip input:checked + span { background: #062946; border-color: #062946; color: #fff; }
.bkv-forslag__lista { display: flex; flex-direction: column; gap: 10px; }
.bkv-forslag__kort { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid #dce3ed; border-radius: 12px; padding: 12px; }
.bkv-forslag__kort.ar-bast { border-color: #12a06b; box-shadow: inset 0 0 0 1px #12a06b; }
.bkv-forslag__bild { width: 76px; height: auto; border-radius: 6px !important; box-shadow: 0 2px 6px rgba(6, 41, 70, .18); }
.bkv-forslag__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bkv-forslag__namn { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.entry-content .bkv-forslag__namn a { color: #062946; text-decoration: none; }
.bkv-forslag__varfor { font-size: 14px; color: #5a6275; line-height: 1.45; }
.bkv-forslag__handling { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.entry-content a.bkv-las { font-size: 13.5px; color: #1968b8; }

.bkv-krav__lista { display: flex; flex-direction: column; gap: 8px; }
.bkv-krav__kort { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; background: #fff; border: 1px solid #e3e9f2; border-left: 4px solid #12a06b; border-radius: 10px; padding: 10px 14px; }
.ar-nej .bkv-krav__kort { border-left-color: #c4cbd6; }
.bkv-krav__namn { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; font-size: 15px; }
.entry-content .bkv-krav__namn a { color: #062946; text-decoration: none; }
.bkv-krav__text { grid-column: 1; font-size: 13.5px; color: #5a6275; line-height: 1.45; }
.bkv-krav__knapp { grid-column: 2; grid-row: 1 / span 2; }

.bkv-appar { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 12px !important; }
.bkv-app { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e3e9f2; border-radius: 10px; padding: 9px 12px; min-width: 0; }
.bkv-app__ikon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.ar-ja .bkv-app__ikon { background: #e3f5ec; color: #0d7d4f; }
.ar-nej .bkv-app__ikon { background: #fdecec; color: #b42318; }
.ar-okand .bkv-app__ikon { background: #eef2f8; color: #5a6275; }
.bkv-app__namn { font-weight: 700; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.entry-content .bkv-app__namn a { color: #062946; text-decoration: none; }
.bkv-app__status { margin-left: auto; font-size: 12.5px; color: #5a6275; white-space: nowrap; }

.bkv-tidslinje:not(:empty) { margin-top: 6px; }
.bkv-tidslinje__bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: #e6ecf4; }
.bkv-tidslinje__bar span { display: block; height: 100%; transition: width .3s ease; }
.bkv-tidslinje__fore { background: #e6ecf4; }
.bkv-tidslinje__period { background: #9ec2ea; }
.bkv-tidslinje__betal { background: #12a06b; }
.bkv-tidslinje__etiketter { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13.5px; color: #5a6275; }
.bkv-tidslinje__etikett strong { display: block; color: #062946; }

.bkv-sparr__kort { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #dce3ed; border-left: 4px solid #1968b8; border-radius: 12px; padding: 14px 16px; }
.entry-content a.bkv-sparr__nummer { font-weight: 800; font-size: 26px; color: #062946; text-decoration: none; letter-spacing: .01em; }
.entry-content a.bkv-sparr__nummer:hover { color: #1968b8; }
.bkv-sparr__text { font-size: 14px; color: #5a6275; }

@media (max-width: 700px) {
	.bkv { padding: 16px 14px; border-radius: 14px; }
	.bkv-flikar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.bkv-flik { flex-shrink: 0; }
	.bkv-falten { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.bkv-rad { grid-template-columns: minmax(0, 1fr) auto; padding: 6px; }
	.bkv-rad__spar { grid-column: 1 / -1; grid-row: 2; height: 20px; }
	.bkv-rad__delar { grid-column: 1 / -1; }
	.bkv-duell__huvud { gap: 8px; }
	.bkv-duell__kort { padding: 10px 6px; }
	.bkv-duell__rad { padding: 10px; gap: 4px 10px; }
	.bkv-duell__varde { font-size: 14.5px; }
	.bkv-forslag__kort { grid-template-columns: 56px minmax(0, 1fr); }
	.bkv-forslag__bild { width: 56px; }
	.bkv-forslag__handling { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
	.bkv-krav__kort { grid-template-columns: minmax(0, 1fr); }
	.bkv-krav__knapp { grid-column: 1; grid-row: auto; }
	.bkv-siffra__tal { font-size: 17px; }
	.bkv-siffra.ar-stor .bkv-siffra__tal { font-size: 21px; }
}
