@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

/* =============================================
   전체 래퍼
============================================= */
.mofi-home {
	max-width: 400px;
	margin: 0 auto;
	height: 100%;
	background-color: #f0f2f5;
	display: flex;
	flex-direction: column;
}


/* =============================================
   헤더 - 네이비 배경
============================================= */

.mofi-head {
	background-color: #1a2e4a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
}

.mofi-logo {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-weight: 700;
}

.logo-mo {
	font-family: 'Varela Round', sans-serif;
	font-size: 26px;
	color: #fff;
	font-style: italic;
	letter-spacing: -0.5px;
}

.logo-fi {
	font-family: 'Varela Round', sans-serif;
	font-size: 26px;
	color: #4a9eff;
	font-style: italic;
	letter-spacing: -0.5px;
}

.logo-sub {
	font-size: 16px;
	color: #fff;
	margin-left: 8px;
	font-weight: 500;
}

.mofi-menu-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mofi-menu-btn span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
}


/* =============================================
   검색바 - 흰 배경
============================================= */
.mofi-search-bar {
	background-color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 12px;
	border-bottom: 1px solid #e0e4ea;
}

.mofi-select {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 1px solid #cdd3dc;
	border-radius: 6px;
	padding: 0 10px;
	font-size: 14px;
	color: #333;
	background-color: #fff;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

.btn-search {
	flex-shrink: 0;
	height: 48px;
	padding: 0 18px;
	background-color: #1a6fd4;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.btn-search i {
	font-size: 15px;
}


/* =============================================
   본문
============================================= */
.mofi-body {
	flex: 1;
	padding: 10px 8px 30px;
	overflow-y: auto;
}


/* =============================================
   차량 카드
============================================= */
.car-card {
	background-color: #fff;
	margin-bottom: 30px;
	box-sizing: border-box;
}


/* 프로모션 배너 */
.car-promo-banner {
	background-color: #1a2e4a;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 2px;
	border-radius: 10px 10px 0 0;
}

.car-promo-banner .rent-company {
	color: gold;
}

.car-promo-banner > span {
	text-align: center;
	flex: 1;
}

.car-promo-banner i {
	font-size: 20px;
}


/* 차량명 + 이미지 */
.car-top {
	display: flex;
	align-items: flex-start;
	padding: 14px 14px 10px;
	gap: 10px;
}

.car-top-left {
	flex: 1;
	min-width: 0;
}

.car-name {
	font-size: 18px;
	font-weight: 800;
	color: #111;
	line-height: 1.3;
	margin-bottom: 2px;
}

.car-detail {
	font-size: 13px;
	color: #555;
	margin-bottom: 8px;
}

.car-options {
	font-size: 11px;
	color: #777;
	line-height: 1.7;
	margin-bottom: 8px;
}

.car-color {
	font-size: 12px;
	color: #333;
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
}

.color-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #222;
	border: 1px solid #888;
}

.car-top-right {
	flex-shrink: 0;
	width: 150px;
	text-align: right;
}

.car-top-right img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.car-img-note {
	font-size: 10px;
	color: #aaa;
	text-align: right;
	margin-top: 3px;
}


/* 차량가 / 만기인수 */
.car-price-row {
	display: flex;
	align-items: center;
	margin: 0 12px 12px;
	border: 1px solid #dde2ea;
	border-radius: 6px;
	overflow: hidden;
}

.car-price-item {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 8px;
}

.cp-label {
	font-size: 13px;
	color: #1a6fd4;
	font-weight: 600;
	white-space: nowrap;
}

.cp-val {
	font-size: 15px;
	font-weight: 800;
	color: #111;
	white-space: nowrap;
}

.car-price-divider {
	width: 1px;
	height: 30px;
	background-color: #dde2ea;
	flex-shrink: 0;
}


/* =============================================
   렌트료 테이블
============================================= */
.rent-table-wrap {
	margin: 0 12px 12px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #dde2ea;
}

.rent-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.rent-table thead tr {
	height: 36px;
}

.rent-table .th-pct {
	width: 36px;
	background-color: #fff;
}

.rent-table .th-deposit {
	background-color: #1a2e4a;
	color: #fff;
	text-align: center;
	font-weight: 700;
	padding: 8px 4px;
	line-height: 1.4;
}

.rent-table .th-prepay {
	background-color: #5a3fa0;
	color: #fff;
	text-align: center;
	font-weight: 700;
	padding: 8px 4px;
	line-height: 1.4;
}

.rent-table tbody tr {
	border-top: 1px solid #edf0f4;
}

.rent-table tbody td {
	padding: 8px 6px;
	text-align: center;
	line-height: 1.5;
}

.td-pct {
	font-size: 13px;
	font-weight: 700;
	color: #333;
	width: 36px;
	text-align: center;
}

.td-orange {
	color: #e07000;
}

.td-deposit {
	text-align: center;
	border-left: 1px solid #edf0f4;
}

.td-prepay {
	text-align: center;
	border-left: 1px solid #edf0f4;
}

.rent-main {
	font-size: 13px;
	font-weight: 700;
	color: #111;
}

.rent-orange {
	color: #e07000;
}

.rent-none {
	font-size: 13px;
	color: #aaa;
}

.rent-table small {
	font-size: 10px;
	color: #888;
}

.tr-highlight {
	background-color: #fff9f0;
}


/* =============================================
   MoFi Pay
============================================= */
.mofi-pay-box {
	margin: 0 12px 10px;
	border: 1px solid #dde2ea;
	border-radius: 6px;
	display: flex;
	align-items: center;
	padding: 14px 16px;
	gap: 10px;
}

.mofi-pay-left {
	flex: 1;
}

.mofi-pay-title {
	font-size: 20px;
	font-weight: 800;
	color: #1a2e4a;
	letter-spacing: -0.5px;
	margin-bottom: 4px;
	font-style: italic;
}

.pay-mo {
	font-family: 'Varela Round', sans-serif;
	font-weight: 900;
	color: #1a2e4a;
}

.pay-fi {
	font-family: 'Varela Round', sans-serif;
	font-weight: 900;
	color: #1a6fd4;
}

.mofi-pay-desc {
	font-size: 12px;
	color: #777;
}

.mofi-pay-right {
	text-align: right;
}

.mofi-pay-amount {
	font-size: 26px;
	font-weight: 900;
	color: #e02020;
	letter-spacing: -1px;
}

.mofi-pay-unit {
	font-size: 16px;
	font-weight: 700;
	color: #e02020;
}

.mofi-pay-sub {
	font-size: 11px;
	color: #888;
	margin-top: 2px;
}


/* =============================================
   기간 / 주행거리
============================================= */
.car-meta-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 0 14px 10px;
}

.car-meta-tag {
	background-color: #1a2e4a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.car-meta-sep {
	color: #bbb;
	font-size: 14px;
}


/* =============================================
   특징 아이콘 3개
============================================= */
.car-features {
	display: flex;
	border-top: 1px solid #edf0f4;
	border-bottom: 1px solid #edf0f4;
	margin-bottom: 0;
}

.feature-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 4px;
	gap: 4px;
	border-right: 1px solid #edf0f4;
}

.feature-item:last-child {
	border-right: none;
}

.feature-item i {
	font-size: 20px;
	color: #1a2e4a;
	margin-bottom: 2px;
}

.feat-title {
	font-size: 11px;
	font-weight: 700;
	color: #222;
	text-align: center;
}

.feat-sub {
	font-size: 10px;
	color: #888;
	text-align: center;
}


/* =============================================
   담당자 - 네이비 배경
============================================= */
.car-manager {
	background-color: #1a2e4a;
	display: flex;
	align-items: center;
	padding: 14px 16px;
	gap: 10px;
	border-radius: 0 0 10px 10px;
}

.manager-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.manager-icon {
	font-size: 28px;
	color: #fff;
}

.manager-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.manager-role {
	font-size: 11px;
	color: #aac4e8;
}

.manager-name {
	font-size: 16px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.5px;
}

.manager-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.manager-phone-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.manager-phone-icon {
	font-size: 28px;
	color: #4a9eff;
}

.manager-phone-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.manager-phone-num {
	font-size: 16px;
	font-weight: 900;
	color: #ffe033;
	letter-spacing: -0.5px;
}

.manager-phone-sub {
	font-size: 10px;
	color: #aac4e8;
}


/* =============================================
   결과 없음
============================================= */
.mofi-empty {
	text-align: center;
	padding: 60px 20px;
	color: #aaa;
}

.mofi-empty i {
	font-size: 40px;
	display: block;
	margin: 0 auto 12px;
}

.mofi-empty p {
	font-size: 14px;
	margin: 0;
}


/* =============================================
   더보기
============================================= */
.mofi-more-wrap {
	text-align: center;
	padding: 16px 0 4px;
}

.btn-more {
	background-color: #fff;
	border: 1px solid #cdd3dc;
	border-radius: 20px;
	padding: 9px 28px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* =============================================
   초기화면 intro 콘텐츠
============================================= */

.intro-hero {
	position: relative;
	width: 100%;
	height: 380px;
	background-image: url('/view/res/images/intro_car.png');
	background-size: cover;
	background-position: center 40%;
}

.intro-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
			to bottom,
			rgba(10, 20, 40, 0.45) 0%,
			rgba(10, 20, 40, 0.05) 45%,
			rgba(255, 255, 255, 0.00) 60%
	);
	z-index: 1;
}

.intro-hero-gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 55%;
	background: linear-gradient(
			to bottom,
			rgba(255, 255, 255, 0) 0%,
			rgba(240, 242, 245, 0.8) 60%,
			rgba(240, 242, 245, 1) 100%
	);
	z-index: 2;
}

.intro-hero-text {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	padding: 0 16px;
	z-index: 3;
}

.intro-hero-badge {
	display: inline-block;
	background-color: #1a6fd4;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.intro-hero-main {
	font-size: 26px;
	font-weight: 900;
	color: #1a2e4a;
	line-height: 1.3;
	letter-spacing: -0.5px;
}

.intro-body {
	background-color: #f0f2f5;
	padding: 4px 12px 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.intro-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.9;
	padding-top: 4px;
}

.intro-kakao-row {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #fffbe6;
	border: 1px solid #ffe033;
	border-radius: 8px;
	padding: 12px 14px;
}

.intro-kakao-desc {
	font-size: 13px;
	color: #333;
	font-weight: 500;
	flex: 1;
	line-height: 1.4;
}

.btn-kakao-connect {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 5px;
	background-color: #fee500;
	color: #191919;
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.btn-kakao-connect img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.intro-process {
	background-color: #1a2e4a;
	border-radius: 12px;
	padding: 22px 16px 26px;
}

.intro-process-title {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	text-align: center;
	margin-bottom: 20px;
	letter-spacing: 0.5px;
}

.process-list {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.process-item {
	display: flex;
	align-items: center;
	background-color: #fff;
	border-radius: 8px;
	width: 100%;
	padding: 13px 20px;
	gap: 14px;
	box-sizing: border-box;
}

.process-num {
	font-size: 18px;
	font-weight: 800;
	color: #1a6fd4;
	width: 28px;
	text-align: center;
	flex-shrink: 0;
}

.process-label {
	font-size: 15px;
	font-weight: 700;
	color: #1a2e4a;
}

.process-arrow {
	font-size: 16px;
	color: #4a9eff;
	padding: 5px 0;
	line-height: 1;
}