#main-content #content-wrapper {
  width: 100% !important;
}

#wrapper-banding {float:left; padding-top: 6px; padding-left: 0; width:100%; padding-bottom:20px;}
/* #wrapper-banding p {padding-left:2%;} */
:root{
  --bg:#f8fafc; --panel:#ffffff; --panel2:#f1f5f9; --line:#e2e8f0; --ink:#1e293b; --muted:#64748b;
  --good:#10b981; --accent:#3b82f6;
}

#wrapper-banding {float:left; padding-top: 6px; padding-left: 0; width:100%; padding-bottom:20px;}
/* #wrapper-banding p {padding-left:2%;} */

div .form-banding {
	width:100%; height: auto; background-color: white; border-bottom: solid 1px #ddd;
	padding: 3px 2px 5px 2px; z-index:99; 
}

div #input-banding {
	padding: 0px 5px 3px 5px; position:relative; vertical-align:top; border:1px;
	transition: all .3s ease-out;
	float:left; width: 24.25%; margin: 2px; height: 50px;
	
}
span.tutup{
	float:right; right:3px; top:-1px; position:absolute; color:#ddd; transition: color .3s ease-out; display:block;
}
span.tutup:hover{
	color:black; cursor:pointer; 
}
div #input-banding:hover {
	-webkit-box-shadow:0 0 3px var(--line); 
	-moz-box-shadow: 0 0 3px var(--line); 
	box-shadow:0 0 3px var(--line); 
}

#input-banding input {
	transition: box-shadow .3s ease-out; border-radius: 8px; max-width: 100%; border:1px solid var(--line); background:#ffffff; color:var(--ink); font-size:13px; padding: 6px 8px;
}

#compare-dev {
	height: 80px;
}

#input-banding input:focus {
	-webkit-box-shadow:0 0 3px #0F0; 
	-moz-box-shadow: 0 0 3px #0F0; 
	box-shadow:0 0 3px #0F0; border: 1px solid #0F0;
}

#input-banding input:hover {
	-webkit-box-shadow:0 0 1px #0F0; 
	-moz-box-shadow: 0 0 1px #0F0; 
	box-shadow:0 0 1px #0F0; background-color: white;
}
#plus-more {
	float:left; margin:auto; height:74px; text-align: center; padding-left: 15px; padding-top:19px;
}
#plus-more span {
	margin: 0 auto; position: center; font-size: 10px; cursor:pointer; transition: box-shadow .3s ease-out;
}
#plus-more span:hover {
	margin: 0 auto; position: center; font-size: 10px; cursor:pointer;
	-webkit-text-shadow:0 0 3px #0F0; 
	-moz-text-shadow: 0 0 3px #0F0; 
	text-shadow:0 0 3px #0F0;
}
#button-banding {
	clear:left; padding: 5px 1px 5px 4px; height:20px;
}

#button-banding-child {
	float:left;
}
.hidden-box {
	display:none;
}

.error-nf {
	box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
	border: 1px solid #ef4444;
	background: #fef2f2;
}

/* Modern inline error styling */
.inline-error {
	display: none;
	color: #dc2626;
	font-size: 12px;
	margin-top: 4px;
	padding: 6px 10px;
	background: #fef2f2;
	border-left: 3px solid #ef4444;
	border-radius: 4px;
	animation: slideDown 0.3s ease-out;
}

.inline-error .material-icons {
	font-size: 16px;
	vertical-align: middle;
	margin-right: 4px;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

span.error {
	font-size: 12px; background: yellow;
}

.hasil-wrapper {
	margin:5px;padding:2px 2px 2px 0; border-bottom: solid 1px #ddd;
	max-width:98.5%; 
	overflow-x:scroll; overflow-y:hidden;
}
.hasil-wrapper table{
    border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
	transition: all .3s ease-out;
	/* table-layout:fixed;       /* forces equal column widths */
  	border-collapse:collapse;
}

.hasil-wrapper tr:nth-child(even) { background-color:#f2f2f2; }
.hasil-wrapper tr:nth-child(even):hover { background-color:#82d5f3; }
.hasil-wrapper tr:nth-child(odd) { background-color:#ffffff; }
.hasil-wrapper tr:nth-child(odd):hover { background-color:#82d5f3; }

/* This is to highlight sub-category in the hasil-wrapper table */
/* TABLE HEADER */
.hasil-wrapper thead tr { background: linear-gradient(135deg, #2e4f63 0%, #243f50 100%) }
.hasil-wrapper thead tr td { padding: 0.5em 0; overflow-wrap:anywhere; font-size:18px; font-family:Arial; font-weight:bold; color:#fff; text-align:center;}
.hasil-wrapper thead tr td:first-child {border-left:#00FF00 solid 5px; text-align:left; padding-left: 6px; vertical-align: middle; }
.hasil-wrapper thead:hover tr{ background: linear-gradient(135deg, #2e4f63 0%, #243f50 100%) !important;}

.hasil-wrapper thead h6 a {color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; font-family: 'Roboto', Arial, sans-serif}
.hasil-wrapper thead td:hover a {text-decoration: none; color: #50c1e9;}

/* MODEL NAME 
.hasil-wrapper tr:nth-child(2) { background-color:#000; font-weight:700;}
.hasil-wrapper tr:nth-child(2) td { border-color:#000; padding-top: 0.5em; padding: 0.5em 0 2px 3px; }
.hasil-wrapper tr:nth-child(2):hover td{ background-color:#000;}
.hasil-wrapper tr:nth-child(2) h6 a {color: #fff;}
.hasil-wrapper tr:nth-child(2) td:hover a {text-decoration: none; color: #50c1e9;} */

/* DESAIN & TAMPILAN */
.hasil-wrapper tr:nth-child(3) { background-color:#bde0ed; }
.hasil-wrapper tr:nth-child(3) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(3):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* PERFORMA*/
.hasil-wrapper tr:nth-child(13) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(13) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(13):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* KAMERA */
.hasil-wrapper tr:nth-child(21) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(21) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(21):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* BATERAI & DAYA */
.hasil-wrapper tr:nth-child(26) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(26) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(26):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* KONEKTIVITAS */
.hasil-wrapper tr:nth-child(30) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(30) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(30):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* KEAMANAN */
.hasil-wrapper tr:nth-child(38) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(38) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(38):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* SOFTWARE */
.hasil-wrapper tr:nth-child(41) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(41) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(41):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* AUDIO */
.hasil-wrapper tr:nth-child(44) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(44) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(44):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* SIM & SLOT */
.hasil-wrapper tr:nth-child(46) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(46) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(46):hover td { background-color:#bde0ed; border-color:#bde0ed;}

/* RAGAM INFORMASI */
.hasil-wrapper tr:nth-child(49) { background-color:#bde0ed;}
.hasil-wrapper tr:nth-child(49) td { border-color:#bde0ed; padding-top: 0.5em; padding: 0.5em 0 2px 3px;}
.hasil-wrapper tr:nth-child(49):hover td { background-color:#bde0ed; border-color:#bde0ed;}

.hasil-wrapper tbody tr:hover td{
	background-color:#f8f8f8;
}

.hasil-wrapper td{
	/* border:1px solid #dddddd; */
	border-width:0px 1px 1px 0px;
	text-align:left;
	vertical-align:top;
	padding:3px;
	font-size:13px;
	font-family:Lato, Arial, sans-serif;
	font-weight:normal;
	color:#000000;
	word-wrap: break-word;
	width: 20%;
}

.hasil-wrapper tr:nth-child(3) td:nth-child(2){
	padding:0px;
}

.hasil-wrapper tr:nth-child(3) td:nth-child(3){
	padding:0px;
}

.hasil-wrapper tr:nth-child(3) td:nth-child(4){
	padding:0px;
}

.hasil-wrapper td img {
	vertical-align: middle;
}
.hasil-wrapper td .image-item {
	min-height: 160px; /* or your desired height */
	display: flex;
	align-items: center;
	justify-content: center;
}


.hasil-wrapper tr:first-child td:first-child i {
	color: #fff;
}

.hasil-wrapper tr td:last-child {
	border-width:0px;
}
.hasil-wrapper tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}

.hasil-wrapper a {
	color: #fff;
	text-decoration:none;
}

/* Mobile slide-off behavior was removed in favor of accordion-style collapse.
   The legacy sliding rules used translateX and could be overridden by the
   accordion below; we remove them to avoid conflicting animations. */

/*
LEGACY: .form-banding-handle rules (disabled)

The original rules that styled the .form-banding-handle are preserved
here for reference and intentionally disabled so the jQuery UI theme
classes control the appearance (for example: ui-widget-header,
ui-corner-top). To restore the legacy styling remove this comment
block and re-enable the selectors.

Original rules (reference only):

.wrapper .form-banding + .form-banding-handle,
.wrapper .form-banding-handle {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	background: #0f172a;
	color: #fff !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	border-top: 1px solid rgba(255,255,255,0.04) !important;
	border-bottom: 1px solid rgba(255,255,255,0.04) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	z-index: 110 !important;
	pointer-events: auto !important;
}

.wrapper .form-banding-handle .fb-label { flex: 1 1 auto; color: #fff; }
.wrapper .form-banding-handle .fb-arrow {
	width: 14px; height: 14px; flex: 0 0 14px; margin-left: 12px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/></svg>");
	background-repeat: no-repeat; background-position: center; transition: transform .25s ease;
}

.wrapper .form-banding-handle.handle-visible .fb-arrow { transform: rotate(180deg); }
.wrapper .form-banding-handle.handle-hidden .fb-arrow { transform: rotate(0deg); }

*/

/* Keep form-banding visible override when not hidden-left */
.wrapper .form-banding:not(.hidden-left) { display: block !important; visibility: visible !important; width: 100% !important; box-sizing: border-box !important; }

/* Accordion override: prefer vertical collapse instead of translateX. */
.wrapper .form-banding {
	overflow: hidden !important;
	max-height: 1000px !important;
	transition: max-height 260ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease-in-out !important;
	opacity: 1 !important;
	transform: none !important;
	/* visible border that matches the handle styling; top border omitted so
	   the handle's bottom border (or UI theme) visually connects to the form */
	border: 1px solid var(--line);
	border-top: 0;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	background: var(--panel);
}
.wrapper .form-banding.hidden-left {
	max-height: 0 !important;
	opacity: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	transform: none !important;
}

/*
	LEGACY: .wrapper .form-banding-handle positioning (disabled)

	Original rule (kept for reference):
	/* Layout the handle so the label is left and the arrow sits at the right */
	.wrapper .form-banding-handle {
		position: relative;
		z-index: 120;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		box-sizing: border-box;
	}
	.wrapper .form-banding-handle .fb-label { flex: 1 1 auto; margin-right: 12px; }

	/* Arrow icon inside the handle. The arrow uses an inline SVG as a
	   background image and rotates based on handle state classes added by
	   the header JS (handle-visible / handle-hidden). */
	.wrapper .form-banding-handle .fb-arrow {
		width: 20px;
		height: 20px;
		flex: 0 0 20px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.wrapper .form-banding-handle .fb-arrow svg {
		width: 18px; height: 18px; display: block; transition: transform .22s ease;
		transform-origin: 50% 50%;
	}
	.wrapper .form-banding-handle.handle-visible .fb-arrow svg { transform: rotate(180deg); }
	.wrapper .form-banding-handle.handle-hidden .fb-arrow svg { transform: rotate(0deg); }
*/


.hasil-wrapper2 p{
	padding:5px;
	font-size:12px;
	font-family:Arial;
	font-weight:normal;
	color:#000000;
}

#loading {
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	position: fixed;
	display: block;
	opacity: 0.8;
	background-color: #000;
	z-index: 10;
	text-align: center;
}

#loading-image {
	position: absolute;
	top: 50%;
	left: 40%;
	z-index: 100; opacity: 1.0;
}

#loading-image p {
	font-size: 16px; font-weight: bold;
	color: #00FF00; text-shadow: 0 0 10px white;
}

#button-banding-child p {
	font-size:12px; color: #aaa; margin-left:12px; margin-bottom: 2px;
}
#button-banding-child p:hover {
	font-size:12px; color: #000;
}

.divider {
	color: #ccc;
}

.graph-header-div {
	margin: 20px 0px -5px 0px;
	padding: 15px 20px;
	font-size: 20px;
	font-weight: 600;
	color: #333;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-radius: 8px 8px 0 0;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	font-family: 'Roboto', Arial, sans-serif;
	letter-spacing: 0.5px;
}

.graph-container {
	position: relative;
	z-index: 20;
	margin: 0px 0px 20px 0px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	background: #ffffff;
	overflow: hidden;
}

.chart_sub {
	margin: 0;
	padding: 0;
	background: #ffffff;
	transition: all 0.3s ease;
	border-bottom: 1px solid #f0f0f0;
}

.chart_sub:hover {
	background: #fafafa;
}

/* Individual chart divs styling */
#chart_div1, #chart_div2, #chart_div3, #chart_div4, #chart_div5 {
	margin: 0;
	padding: 15px;
	background: #ffffff;
	transition: all 0.3s ease;
	border-bottom: 1px solid #f0f0f0;
}

#chart_div1:hover, #chart_div2:hover, #chart_div3:hover, 
#chart_div4:hover, #chart_div5:hover {
	background: #fafafa;
}

/* Remove border from last chart */
#chart_div5 {
	border-bottom: none;
}

/* Professional chart container layout */
#graph-container-id {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
}

/* Loading overlay for charts */
.chart-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.chart-loading::after {
	content: '';
	width: 40px;
	height: 40px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #4285F4;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.reco-inner-container {
	padding: 18px 6px;
	border-bottom: solid 1px #ddd;
	overflow: hidden; /* This ensures the container wraps around floated elements */
	min-height: 280px; /* Base height */
	transition: min-height 0.4s ease;
}

.reco-inner-container-bottom {
	padding: 12px 6px;
}

.reco-img-div {
	float: left;
	overflow: visible; /* Allow carousel cards to show outside bounds */
	width: 155px;
	height: 220px; /* Base height, will expand on hover */
	line-height: 155px;
	text-align: center;
	margin-top: 18px;
	margin-bottom: 18px;
	transition: all .3s ease-out;
}

/* RECO section styling matching car design - with carousel support */
.reco-inner-container {
    padding: 20px;
    min-height: 280px;
    overflow: visible; /* Allow carousel to expand beyond container */
    transition: all 0.4s ease;
}

/* Clearfix for floated elements */
.reco-inner-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Container height stays constant - no expansion on hover to prevent layout shifts */

.reco-img-div {
    float: left;
    overflow: visible; /* Allow carousel cards to show outside bounds */
    width: 155px;
    margin-right: 20px; /* Add spacing between carousel and text */
    margin-bottom: 15px;
}

.reco-img-text-div {
    float: left;
    margin-left: 16px; 
    margin-right: 5px;
    padding-left: 24px;
    max-width: 500px;
    border-left: solid 1px #eee;
    margin-top: 18px;
    margin-bottom: 18px;
    width: calc(100% - 210px); /* Account for larger phone card width + margins */
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.reco-img-text-div li {
    margin-bottom: 8px;
    list-style: none;
    padding-left: 0;
    color: #555;
}

/* Notes styling removed - no longer using Catatan sections */

/* Specific styling for reco text sections - removed to match car's clean approach */

/* Phone Cards Carousel - Vertical Layout with Immediate Spread */
.phone-cards-carousel {
    position: relative;
    width: 155px;
    height: 220px; /* Base height, will expand on hover */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible; /* Allow rank badges to show outside carousel bounds */
}

/* Expand carousel height on hover to accommodate all cards */
.phone-cards-carousel:hover {
    height: 600px; /* Enough space for 4 cards vertically */
    z-index: 15;
}

.phone-card-item {
    position: absolute;
    width: 100%;
    height: 165px; /* Fixed card height */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible; /* Allow rank badge to show outside card bounds */
}

/* Initial stacked position - all cards on top of each other */
.phone-card-item.card-primary {
    transform: translateY(0px) scale(1);
    z-index: 10;
}

.phone-card-item.card-secondary:nth-child(2) {
    transform: translateY(30px) scale(0.9);
    z-index: 9;
    opacity: 0.8;
}
.phone-card-item.card-secondary:nth-child(3) {
    transform: translateY(50px) scale(0.9);
    z-index: 9;
    opacity: 0.8;
}
.phone-card-item.card-secondary:nth-child(4) {
    transform: translateY(70px) scale(0.9);
    z-index: 9;
    opacity: 0.8;
}

/* On carousel hover - spread all cards vertically with clear spacing */
.phone-cards-carousel:hover .phone-card-item.card-primary {
    transform: translateY(0px) scale(0.85);
    z-index: 12;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(2) {
    transform: translateY(120px) scale(0.85);
    z-index: 12;
    opacity: 1;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(3) {
    transform: translateY(240px) scale(0.85);
    z-index: 12;
    opacity: 1;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(4) {
    transform: translateY(360px) scale(0.85);
    z-index: 12;
    opacity: 1;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(5) {
    transform: translateY(480px) scale(0.85);
    z-index: 12;
    opacity: 1;
}

/* Individual card hover - bring focused card to front and slightly larger */
.phone-cards-carousel:hover .phone-card-item:hover {
    transform: translateY(var(--hover-y)) scale(0.95) !important;
    z-index: 20 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Set custom hover positions for each card when individually hovered */
.phone-cards-carousel:hover .phone-card-item.card-primary:hover {
    --hover-y: -5px;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(2):hover {
    --hover-y: 115px;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(3):hover {
    --hover-y: 235px;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(4):hover {
    --hover-y: 355px;
}

.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(5):hover {
    --hover-y: 475px;
}

/* Rank badge styling - Rounded rectangle for better visibility */
.phone-rank-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 32px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: bold;
    z-index: 25;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.phone-card-item[data-rank="1"] .phone-rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    box-shadow: 0 2px 12px rgba(255,215,0,0.4);
}

.phone-card-item[data-rank="2"] .phone-rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    box-shadow: 0 2px 12px rgba(192,192,192,0.4);
}

.phone-card-item[data-rank="3"] .phone-rank-badge {
    background: linear-gradient(135deg, #cd7f32, #b8860b);
    box-shadow: 0 2px 12px rgba(205,127,50,0.4);
}

.phone-card-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.phone-result {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}

.phone-model-name {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #333;
    max-height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.phone-model-name a {
    color: #1976D2;
    text-decoration: none;
}

.phone-model-name a:hover {
    text-decoration: underline;
    color: #1557b0;
}

.phone-spec-info {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.phone-spec-info.primary {
    font-weight: 600;
    color: #333;
    font-size: 12px;
}

.phone-image-container {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 40px;
    opacity: 0.1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.phone-performance-row {
    margin-top: 8px;
    height: auto;
    min-height: auto;
    max-height: none;
    display: block;
    background: transparent;
    border: none;
}

.phone-performance-info {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
    width: 100%;
    height: auto;
    display: block;
    text-align: left;
    padding: 0;
    overflow: visible;
    text-overflow: none;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Phone carousel mobile adjustments */
    .phone-cards-carousel {
        width: 140px;
        height: 200px;
    }
    
    .phone-cards-carousel:hover {
        height: 520px; /* Smaller expanded height for mobile */
    }
    
    .phone-card-item {
        height: 145px; /* Smaller card height */
        padding: 8px;
    }
    
    .phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(2) {
        transform: translateY(110px) scale(0.85);
    }

    .phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(3) {
        transform: translateY(220px) scale(0.85);
    }

    .phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(4) {
        transform: translateY(330px) scale(0.85);
    }

    .phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(5) {
        transform: translateY(440px) scale(0.85);
    }
    
    /* Container height stays constant on mobile - no hover expansion */
    
    .phone-model-name {
        font-size: 12px;
    }
    
    .phone-spec-info {
        font-size: 10px;
    }
    
    /* Mobile layout - stack carousel and text vertically */
    .reco-img-div {
        width: 120px;
        display: block;
    }
    
    .reco-img-text-div {
        width: calc(100% - 180px) !important; /* Adjusted for smaller car card width + margins */
		padding-left: 16px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    
    .phone-card-item {
        height: 130px;
        padding: 6px;
    }
    
    .phone-model-name {
        font-size: 11px;
        max-height: 28px;
    }
    
    .phone-spec-info {
        font-size: 9px;
        margin-bottom: 2px;
    }
    
    .phone-rank-badge {
        width: 28px;
        height: 18px;
        font-size: 0.7em;
    }
    
    .reco-img-div {
		width: 100px !important;
		height: 170px; /* Adjusted height for smaller screens */
		margin-right: 0;
	}
    
    .reco-img-text-div {
		width: calc(100% - 140px) !important; /* Adjusted for smaller car card width + margins */
    }

	.phone-cards-carousel {
		width: 110px;
		height: 200px;
  	}

	.phone-card-box.primary-card {
		width: 100px;
		height: 120px;
	}

	.phone-card-box.secondary-card {
		width: 100px;
		height: 120px;
	}

	.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(2):hover {
		--hover-y: 175px;
	}

	.phone-card-item.card-secondary:nth-child(2) {
		transform: translateY(175px) scale(1);
	}

	.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(3):hover {
		--hover-y: 350px;
	}

	.phone-card-item.card-secondary:nth-child(3) {
		transform: translateY(350px) scale(1);
	}

	.phone-cards-carousel:hover .phone-card-item.card-secondary:nth-child(4):hover {
		--hover-y: 525px;
	}

	.phone-card-item.card-secondary:nth-child(4) {
		transform: translateY(525px) scale(1);
	}

	.phone-card-item {
		width: 100%; /* Adjusted card width */
	}
}



/* Performance Analysis Styles */
.perf-section {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.perf-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.perf-section h6 {
	color: #333;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.perf-section p {
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 6px;
	color: #555;
}

.comparison-list {
	background-color: #f8f9fa;
	padding: 12px;
	border-radius: 4px;
	margin-top: 8px;
}

.comparison-list p {
	margin-bottom: 8px;
	font-size: 12.5px;
}

.comparison-list p:last-child {
	margin-bottom: 0;
}

.reco-img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

.reco-img-text-div {
	float: left;
	margin-left: 16px; margin-right: 5px;
	padding-left: 24px;
	max-width: 500px;
	border-left: solid 1px #eee;
	margin-top: 12px;
	margin-bottom: 12px;
}

p.red {
	color: red; background-color: white; display: inline; padding-left: 0;
}

.fixingfloat {
	clear: both;
	overflow: hidden;
}

.sumpet {
	display: none;
}

.reco-inner-container i {
	float:left; margin-right: 7px; padding-top: 2px; font-size: 20px; color: #aaa;
}

.hasil-wrapper i {
	float:left; font-size: 16px; margin-left: 2px; margin-right: 5px; padding-top: 2px;
}

.saran-wrapper {
	margin:5px; padding:16px 20px 2px 20px;
	width:98.5%; display:inline-block; 
}

.saran-title {
	padding: 3px 5px;
}

.saran-content {
	border-left: solid 1px #ddd; border-right: solid 1px #ddd; border-bottom: solid 1px #ddd;
}

.saran-pair {
	clear:left; margin-bottom: 28px; height: 130px; width: 100%; border-top: solid 1px #ddd; padding: 26px 16%; 
}

.saran-img-container {
	float: left;
	width: 128px;
	height: 128px;
	text-align: center;
	margin: auto;
	text-overflow: ellipsis;

	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
	box-sizing: border-box;
	padding: 0;
	background: linear-gradient(135deg, rgba(248,255,248,0.85) 0%, rgba(234,255,234,0.85) 100%);
	border: 1px solid rgba(170,170,170,0.35);
	border-radius: 6px;
	box-shadow: none;
	border-radius: 0;
	text-align: center;
}

.saran-img {
	margin: auto;
	width: auto;
	height: 100%;
}

.saran-img-container a {
	color: #535353; font-size: 0.95em;
}

.saran-img-container a:hover {
	color: #000; font-size: 0.95em;
}

.phone-year-info {
	height: 18%;
	min-height: 18%;
	max-height: 18%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
	color: #666;
	font-weight: 500;
	padding: 3px 6px;
	transition: all 0.3s;
	background: rgba(0,0,0,0.03);
	border-top: 1px solid #eee;
}

.versus {
	float:left; display:block; margin: auto 20px; height: 110px; top: 50%; font-size: 2em; padding-top: 32px;
}


.myButton {
	font-size: 0.9em; width: 124px; height: 28px;
}

.saran-button {
	float: left;
	margin-top: 20px;
	margin-left: 50px;
	width: auto;
	height: 110px;
	text-align: center;
	
}

.saran-button i {
	font-size: 20px; padding-top: 6px;
}

a.back-to-top {
	display: none;
	width: 60px;
	height: 60px;
	position: fixed; margin: 0 auto;
	z-index: 999;
	right: 20px;
	bottom: 20px;
	opacity: 0.5;
	background: #efefef url("/wp-content/uploads/2016/11/up-arrow.png") no-repeat center;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

a.back-to-top:hover {
	background: #fff url("/wp-content/uploads/2016/11/up-arrow.png") no-repeat center;
	opacity: 1;
}

/*Media Queries - Must be bottom most*/
/*For browser/screen widths less than 768px*/
/* Responsive design for charts */
@media screen and (max-width: 768px) {
	.graph-container {
		margin: 10px 2px;
	}
	
	#chart_div1, #chart_div2, #chart_div3, #chart_div4, #chart_div5 {
		padding: 12px;
	}
	
	.graph-header-div {
		margin: 10px 2px 0 2px;
		padding: 12px 15px;
		font-size: 18px;
	}
}

@media screen and (max-width: 480px) {
	.graph-container {
		margin: 5px 0;
	}
	
	#chart_div1, #chart_div2, #chart_div3, #chart_div4, #chart_div5 {
		padding: 10px;
	}
	
	.graph-header-div {
		margin: 5px 0 0 0;
		padding: 10px;
		font-size: 16px;
	}
	
	div#input-banding {
		width: 100%; /* Full width on mobile */
		margin: 2px 0;
	}
	
	.hasil-wrapper {
		margin: 2px;
		padding: 1px;
	}
	
	.reco-inner-container {
		padding: 10px 3px;
	}
}

@media only screen and (max-width: 768px) {
    div#input-banding {
		width: 97%; margin-right: 1%; margin-left: 1%;
    }
    .hasil-wrapper {
		margin-left: 0; max-width: 100%;
    }
    #button-banding-child p {
		margin-top: 10px;
		margin-left: 0;
    }
    div#graph-container-id {
		overflow-y: hidden;
		overflow-x: scroll;
		font-size: 0.1em;
    }
    div#loading-image {
		left: 20%;
    }
    div.saran-pair {
		padding: 16px 6px;
    }
    div.saran-img-container {
		width: 72px; height: 72px;
    }
		/* Make suggestion pairs flex and force buttons onto their own row */
		div.saran-pair {
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				gap: 10px;
				padding: 16px 6px;
				height: auto;
		}
		div.saran-img-container {
				width: 72px; height: 72px;
				float: none;
				margin: 0;
		}
		div.versus { float: none; order: 2; flex: 0 0 auto; margin: 0 8px; height: auto; padding-top: 0; font-size: 1.2em; align-self: center; }
		div.saran-button {
				margin-top: 8px;
				margin-left: 0;
				order: 99;
				flex: 0 0 100%;
				display: flex;
				justify-content: center;
				gap: 8px;
				padding-left: 6px;
		}
		/* Ensure anchors and versus occupy the first row */
		.saran-pair > a,
		.saran-pair > a > .saran-img-container,
		.saran-pair > .versus { order: 1; flex: 0 0 auto; display: inline-flex; align-items: center; }
		.saran-pair > .saran-button { width: 100% !important; max-width: 100% !important; box-sizing: border-box; justify-content: center !important; align-items: center !important; }
		.saran-pair > * { float: none !important; }
		.saran-pair > .saran-button input.myButton { width: auto; min-width: 120px; margin: 0 6px; }
    div.saran-content {
		height: 800px;
    }
    a.saran-link {
		font-size: 0.88em;
    }
    .graph-header-div, .graph-container {margin: 0;}
}

/*
   LEGACY: Form-banding handle styles (disabled)
   ------------------------------------------------
   The original .form-banding-handle rules are preserved here as a
   reference but intentionally disabled so the jQuery UI theme classes
   (for example: ui-widget-header ui-corner-top) control the visual
   appearance of the handle. To restore the legacy styles remove the
   surrounding comment markers.

   Original rules (kept here for reference):

   .wrapper .form-banding + .form-banding-handle,
   .wrapper .form-banding-handle {
	   display: block !important;
	   width: 100% !important;
	   box-sizing: border-box !important;
	   background: #0f172a; (dark header)
	   color: #fff !important;
	   padding: 10px 14px !important;
	   font-size: 14px !important;
	   font-weight: 600 !important;
	   cursor: pointer !important;
	   border-top: 1px solid rgba(255,255,255,0.04) !important;
	   border-bottom: 1px solid rgba(255,255,255,0.04) !important;
	   display: flex !important;
	   align-items: center !important;
	   justify-content: space-between !important;
	   z-index: 110 !important;
	   pointer-events: auto !important;
   }

   .wrapper .form-banding-handle .fb-label { flex: 1 1 auto; color: #fff; }
   .wrapper .form-banding-handle .fb-arrow {
	   width: 14px; height: 14px; flex: 0 0 14px; margin-left: 12px;
	   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/></svg>");
	   background-repeat: no-repeat; background-position: center; transition: transform .25s ease;
   }

.wrapper .form-banding-handle.handle-visible .fb-arrow { transform: rotate(180deg); }
.wrapper .form-banding-handle.handle-hidden .fb-arrow { transform: rotate(0deg); }

*/

/* Keep form-banding visible override when not hidden-left */
.wrapper .form-banding:not(.hidden-left) { display: block !important; visibility: visible !important; width: 100% !important; box-sizing: border-box !important; }

/* Accordion override: prefer vertical collapse instead of translateX. */
.wrapper .form-banding {
	overflow: hidden !important;
	max-height: 1000px !important;
	transition: max-height 260ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease-in-out !important;
	opacity: 1 !important;
	transform: none !important;
	padding-top: 12px !important;
}
.wrapper .form-banding.hidden-left {
	max-height: 0 !important;
	opacity: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	transform: none !important;
}

.wrapper .form-banding-handle { position: relative; z-index: 120;}


/* Additional CSS for enhanced RECO sections */
.reco-notes {
	margin-top: 20px;
	padding: 15px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 8px;
	border-left: 4px solid #4285F4;
	font-size: 14px;
	line-height: 1.6;
}

.reco-notes h4 {
	margin: 0 0 10px 0;
	color: #333;
	font-size: 16px;
	font-weight: 600;
}

.reco-notes p {
	margin: 8px 0;
	color: #555;
}

.highlight-text {
	background-color: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 10px;
	margin: 10px 0;
	border-radius: 4px;
	font-weight: 500;
}

.warning-text {
	background-color: #f8d7da;
	border-left: 4px solid #dc3545;
	padding: 10px;
	margin: 10px 0;
	border-radius: 4px;
	color: #721c24;
}

.warning-text .material-icons {
	color: #dc3545;
	vertical-align: middle;
	margin-right: 5px;
}

/* Enhanced reco section styling - removed reco-section wrapper */