@charset "utf-8";

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


:root {
    /* 공통 헤더 높이 (모바일 앱바 표준값) */
    --header-height: 56px;
    --pass-red: #FA3A4A;
    --pass-light-pink: #FED8DA;
    --pass-violet: #6250F5;
    --pass-light-violet: #D0DBFC;
    --pass-black: #000000;
    --pass-black-02: #333333;
    --pass-darkgray: #666666;
    --pass-gray: #999999;
    --pass-disabled: #BBBBBB;
    --pass-write: #ffffff;
    --pass-line: #dddddd;
    --pass-main-bg: #ffffff;
    --pass-sub-bg: #F5F5F5;
    --dr-blue: #003595;
    --dr-navy: #062565;
    --dr-green: #00783F;
    --dr-pink: #F08974;
    --pass-body-font-size: 16px;
    --pass-body-font-weight: 400;
    --pass-font-sans-serif: "Pretendard", sans-serif;
    --pass-text-xxl: 1.25rem;
    --pass-text-xl: 1.125rem;
    --pass-text-lg: 1rem;
    --pass-text-md: 0.875rem;
    --pass-text-sm: 0.8125rem;
    --pass-text-mn: 0.75rem;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
    font-size: 14px;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Pretendard-Regular', -apple-system, SD Gothic Neo, sans-serif;
    font-size: 14px;
    color: #121F34;
    -webkit-text-size-adjust: none;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

tr, td {
    border: 1px solid #000;
    vertical-align: middle;
}

button,
input,
textarea,
select {
    font-family: 'Pretendard-Regular', -apple-system, SD Gothic Neo, sans-serif;
    outline: none;
    border: 0;
    box-sizing: border-box;
}

button,
a[role="button"] {
    cursor: pointer;
}

a {
    text-decoration: none;
}

/* common style */

.blind {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    margin-top: -1px;
    clip: rect(0 0 0 0);
}

.point {
    color: #003595;
}

input[type="text"],
input[type="number"],
input[type="password"] {
    height: 48px;
    border-radius: 8px;
    padding: 0 12px;
    border: 1px solid #B8BCC2;
    width: 100%;
    font-size: 16px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #B8BCC2;
}

input[type="text"]:read-only {
    background-color: #F3F4F5;
    border: none;
    color: #A0A5AE;
    text-align: center;
}

input[type="checkbox"],
input[type="radio"] {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    margin-top: -1px;
    clip: rect(0 0 0 0);
}

.custom-checkbox {
    position: relative;
}

input[type="checkbox"]+label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

input[type="checkbox"]+label:before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: url('../images/checkbox.png') no-repeat 50% 50%;
    background-size: 100%;
}

input[type="checkbox"]:checked+label:before {
    background: url('../images/checkbox_checked.png') no-repeat 50% 50%;
    background-size: 100%;
}

input[type="radio"]+label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

input[type="radio"]+label:before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: url('../images/checkbox.png') no-repeat 50% 50%;
    background-size: 100%;

}

input[type="radio"]:checked+label:before {
    background: url('../images/radio_checked.png') no-repeat 50% 50%;
    background-size: 100%;
}


.btn-select {
    display: flex;
    line-height: 46px;
    height: 48px;
    border-radius: 8px;
    padding: 0 12px;
    border: 1px solid #B8BCC2;
    width: 100%;
    font-size: 16px;
    background: url('../images/arr_select.png') no-repeat calc(100% - 12px) 50%;
    background-size: 24px;
}

.custom-select {
    display: flex;
    line-height: 46px;
    height: 48px;
    border-radius: 8px;
    padding: 0 12px;
    border: 1px solid #B8BCC2;
    width: 100%;
    font-size: 16px;
    background: url(../images/arr_select.png) no-repeat calc(100% - 12px) 50%;
    background-size: 24px;
    appearance: none;
    color: #121F34;
}
.btn-select .placeholder {
    font-size: 16px;
    font-weight: 500;
    line-height: inherit;
    color: #B8BCC2;
}


.radio-btn-list {
    display: flex;
    gap: 10px;
}

.radio-btn-list li {
    flex: 1;
}

.radio-btn-list input[type="radio"] {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    margin-top: -1px;
    clip: rect(0 0 0 0);
}

.radio-btn-list label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    border-radius: 8px;
    background-color: #F3F4F5;
    color: #596271;
    font-size: 16px;
    font-weight: 600;
}

.radio-btn-list input[type="radio"]+label:before {
    display: none;
}

.radio-btn-list input[type="radio"]:checked+label {
    background-color: #5083FF;
    color: #fff;
}

.btn-area {
    display: flex;
    gap: 10px;
}

.btn-area.group button:first-child {
    flex: 0 0 110px;
}

.btn-area.group button:last-child {
    flex: auto;
}

.btn-point {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    background-color: #003595;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
}

.btn-point:disabled {
    background-color: #BCB9FF;
}

.btn-point.round {
    border-radius: 22px;
}

.btn-basic {
    height: 44px;
    border-radius: 8px;
    background-color: #F3F4F5;
    color: #596271;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0 auto;
    background-color: #fff;
}

body.bg-gray {
    background-color: #F3F4F5;
    min-height: 100%;
}

body.bg-gray .contents {
    background-color: #F3F4F5;
}

.wrap {
    width: 100%;
    height: 100%;
}

.scroll-block {
    overflow: hidden;
}

.scroll-block .wrap {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.dim {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

body.scroll-block .dim {
    display: block;
}


.header {
    position: relative;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 스크롤해도 화면 상단에 고정되는 헤더 */
.header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    border-bottom: 1px solid #EEF0F2;
}

.header .btn-back {
    width: 40px;
    height: 100%;
    position: absolute;
    left: 12px;
    top: 0;
    background: url('../images/btn_back.png') no-repeat 50% 50%;
    background-size: 100%;
}

.header .header-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.contents .agreement {
    padding: 0 20px;
}

.btn-area {
    padding: 20px;
}

.agreement-desc {

    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agreement-desc .logo-cln {
    width: 72px;
    height: 72px;
    background: url('../images/symbol.svg') no-repeat 50% 50%;
    background-size: 100%;
    margin-bottom: 36px;
}

.logo-pet {
    width: 132px;
    height: 36px;
    background: url('../images/logo_petpass.png') no-repeat 50% 50%;
    background-size: 100%;
    margin-bottom: 8px;
}

.agreement-desc .text {
    color: #596271;
    line-height: 22px;
    text-align: center;
    font-size: 14px;
}

.agreement-list .all {
    border: 1px solid #E7E9EB;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 24px;
}

.agreement-list .custom-checkbox label {
    font-weight: 500;
    color: #414C5D;
}

.agreement-list .btn-detail {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/btn_detail.png') no-repeat 50% 50%;
    background-size: 100%;
}

.agreement-list .btn-detail.open {
    transform: rotate(-90deg);
}

.agreement-list ul {
    margin-top: 8px;
}

.agreement-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    height: 40px;
}

.agreement-list li+li {
    margin-top: 4px;
}

.agreement-list .benefit-channel-list {
    height: auto;
    padding: 0 14px 0 34px;
}

.agreement-list .benefit-channel {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: #F3F4F5;
}

.agreement-list .benefit-channel .custom-checkbox {
    display: block;
    padding: 6px 0;
}

.agreement-list .benefit-channel .custom-checkbox label {
    color: #414C5D;
    font-size: 13px;
    font-weight: 400;
}

.agreement-list .benefit-channel .square-checkbox input[type="checkbox"]+label {
    position: relative;
    gap: 8px;
}

.agreement-list .benefit-channel .square-checkbox input[type="checkbox"]+label:before {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    box-sizing: border-box;
    border: 1px solid #C8CDD4;
    border-radius: 2px;
    background: #fff;
}

.agreement-list .benefit-channel .square-checkbox input[type="checkbox"]:checked+label:before {
    border-color: #2563EB;
    background: #2563EB;
}

.agreement-list .benefit-channel .square-checkbox input[type="checkbox"]:checked+label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-58%) rotate(45deg);
}

.permission-page {
    min-height: calc(100dvh - 40px);
    padding: 20px;
    background: #F3F4F5;
}

.permission-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.permission-link-row,
.permission-consent-card {
    width: 100%;
    border: 1px solid #E7E9EB;
    border-radius: 8px;
    background: #fff;
}

.permission-link-row {
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #414C5D;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.permission-chevron {
    width: 18px;
    height: 18px;
    background: url('../images/btn_detail.png') no-repeat 50% 50%;
    background-size: 100%;
}

.permission-consent-card {
    padding: 16px;
}

.permission-consent-row,
.permission-channel-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.permission-consent-row p {
    flex: 1;
    color: #414C5D;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.permission-view-btn {
    width: 42px;
    height: 28px;
    border-radius: 14px;
    background: #F3F4F5;
    color: #596271;
    font-size: 13px;
    font-weight: 600;
    line-height: 28px;
}

.permission-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex: 0 0 42px;
}

.permission-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.permission-switch span {
    position: absolute;
    cursor: pointer;
    inset: 0;
    border-radius: 999px;
    background: #D7DBE0;
    transition: background 0.2s ease;
}

.permission-switch span::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.permission-switch input:checked + span {
    background: #0047BF;
}

.permission-switch input:checked + span::before {
    transform: translateX(18px);
}

.permission-channel-list {
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid #EEF0F2;
}

.permission-channel-row {
    min-height: 40px;
    justify-content: space-between;
}

.permission-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #EEF4FF;
    color: #0047BF;
    flex: 0 0 24px;
}

.permission-channel-icon::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.permission-channel-icon.push::before {
    mask-image: url('../images/permission/icon-push.svg');
    -webkit-mask-image: url('../images/permission/icon-push.svg');
}

.permission-channel-icon.kakao::before {
    mask-image: url('../images/permission/icon-kakao.svg');
    -webkit-mask-image: url('../images/permission/icon-kakao.svg');
}

.permission-channel-icon.sms::before {
    mask-image: url('../images/permission/icon-sms.svg');
    -webkit-mask-image: url('../images/permission/icon-sms.svg');
}

.permission-channel-icon.email::before {
    mask-image: url('../images/permission/icon-email.svg');
    -webkit-mask-image: url('../images/permission/icon-email.svg');
}

.permission-channel-icon.phone::before {
    mask-image: url('../images/permission/icon-phone.svg');
    -webkit-mask-image: url('../images/permission/icon-phone.svg');
}

.permission-channel-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #596271;
    font-size: 14px;
    line-height: 1.35;
}

.permission-note {
    display: flex;
    gap: 8px;
    padding: 4px 2px;
    color: #596271;
    font-size: 13px;
    line-height: 1.45;
}

.permission-note span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #D7DBE0;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    flex: 0 0 18px;
}

.permission-consent-modal {
    padding: 20px;
}

.permission-consent-modal .modal-body {
    text-align: center;
    padding: 20px 0 10px;
}

.permission-consent-modal .modal-body h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.permission-consent-modal .modal-body p {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.permission-consent-modal .modal-body small {
    display: block;
    margin-top: 12px;
    color: #666;
    font-size: 13px;
}

.permission-consent-modal .btn-group {
    display: flex;
    gap: 8px;
}

.permission-consent-modal .btn-group .btn {
    flex: 1;
}

.i-toast {
    background: url("../images/i-toast.png") no-repeat 50% 50%;
    background-size: cover;
    height: 1rem;
    width: 1rem;
}

.toast {
    align-items: center;
    background: var(--dr-pink, #0047BF);
    border-radius: 12px;
    bottom: 5.75rem;
    color: #fff;
    display: flex;
    font-size: 15px;
    gap: 12px;
    left: 50%;
    margin: 0 auto;
    padding: 14px 18px;
    position: fixed;
    text-align: left;
    transform: translateX(-50%);
    visibility: hidden;
    width: calc(100% - 40px);
    z-index: 99;
}

.toast.show {
    animation: toast-fade-in 0.5s, toast-fade-out 0.5s 2.5s;
    visibility: visible;
}

.toast i {
    flex: 0 0 auto;
}

@keyframes toast-fade-in {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 5.75rem;
        opacity: 1;
    }
}

@keyframes toast-fade-out {
    from {
        bottom: 5.75rem;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

.terms {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: relative;
}

.terms .btn-cls {
    width: 24px;
    height: 24px;
    background: #fff url('../images/btn_close.png') no-repeat 50% 50%;
    background-size: 100%;
    position: fixed;
    right: 20px;
    top: 8px;
}

.terms .terms-title {
    font-size: 16px;
    font-weight: 600;
    height: 40px;
    padding: 8px 20px;
    line-height: 24px;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
}

.terms .terms-text {
    padding: 20px;
    overflow: auto;
    height: calc(100% - 40px - 64px);
    line-height: 22px;
}

.btm-fixed {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.btm-fixed:before {
    content: '';
    display: block;
    height: 34px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 71%, #FFFFFF 100%);
    position: absolute;
    left: 0;
    top: -34px;
}

.btm-fixed .btn-area {
    background-color: #fff;
    padding: 0 20px 20px;
}

.form-list {
    overflow-y: auto;
}

.form-list .form-item {
    padding: 10px 20px;
}

.form-list .form-item .form-input {
    margin: 8px 0 0 0;
}

.form-input.flex {
    align-items: center;
    display: flex;
    gap: 8px;
}

.form-input.flex input:first-child {
    width: 100px;
}

.form-input.hidden {
    display: none;
}

.form-list .form-item .form-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.form-list .form-item .form-title .title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #414C5D;
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
}

.form-list .form-item .form-title .title.required:after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #E53935;
    position: relative;
    top: 4px;
}

.form-list .form-item .form-title .btn-link {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #003595;
    text-decoration: underline;
}

.form-list .form-item .tip-text {
    font-weight: 500;
    font-size: 12px;
    color: #888F99;
    margin-top: 8px;
    line-height: 18px;
}

.tooltip {
    position: relative;
    z-index: 20;
}

.tooltip .btn-tooltip {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/icon_tooltip.png') no-repeat 50% 50%;
    background-size: 100%;
}

.tooltip .layer-tooltip {
    display: none;
    background: #5083FF;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-weight: 500;
    line-height: 22px;
    position: absolute;
    top: 26px;
    right: -16px;
    width: 240px;
}

.tooltip .layer-tooltip:before {
    content: '';
    height: 16px;
    width: 16px;
    background: url('../images/arr_tooltip.png') no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    right: 18px;
    top: -10px;
}

.tooltip .layer-tooltip .btn-cls {
    width: 16px;
    height: 16px;
    background: url('../images/tootip_close.png') no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    top: 16px;
    right: 16px;
}

.tooltip.show .layer-tooltip {
    display: block;
}

.btm-layer-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    transition: 0.4s all;
    transform: translateY(100%);
}

.btm-layer-wrap.show {
    transform: translateY(0);
}

.btm-layer {
    max-height: 86%;
    background-color: #fff;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.btm-layer h3 {
    padding: 48px 20px 12px;
    line-height: 28px;
    font-weight: 600;
    font-size: 20px;
}

.btm-layer .btn-cls {
    width: 24px;
    height: 24px;
    background: url('../images/btn_close.png') no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    right: 12px;
    top: 12px;
}

.btm-layer .btn-area {
    position: sticky;
    bottom: 0;
}

.btm-layer .form-list .form-item {
    padding: 20px;
}

.btm-layer-wrap.select .btm-layer {
    max-height: 392px;
    height: 100%;
}

.btm-layer-wrap.select .btm-layer .select-title {
    padding: 12px 20px;
    font-weight: 600;
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 8px;
}

.btm-layer-wrap.select .btm-layer .select-list {
    padding: 0 20px;
    overflow-y: auto;
    height: calc(100% - 56px - 64px);
    padding-bottom: 34px;
}

.btm-layer-wrap.select .btm-layer .select-list li {
    height: 40px;
    display: flex;
    align-items: center;
}

.btm-layer-wrap.select .btm-layer .select-list li+li {
    margin-top: 8px;
}

.pass-step {
    padding: 20px 0 10px;
}

.pass-step+.pass-step {
    border-top: 8px solid #F3F4F5;
    padding-top: 32px;
}

.pass-step .step-title {
    padding: 0 20px;
    position: relative;
}

.pass-step .step-title .step {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #003595;
    margin-bottom: 8px;
}

.pass-step .step-title h2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #121F34;
}

.pass-step .step-title .text {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #121F34;
}

.pass-step .step-title .form-item {
    margin-top: 16px;
}

.pass-step .step-title .btn-add {
    height: 34px;
    width: 71px;
    border-radius: 8px;
    border: 1px solid #5083FF;
    color: #5083FF;
    background-color: #fff;
    font-weight: 600;
    line-height: 22px;
    position: absolute;
    right: 20px;
    bottom: 7px;
}

.pass-step .step-title .btn-add span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pass-step .step-title .btn-add span:before {
    content: '+';
    font-size: 26px;
    font-weight: 400;
    line-height: 32px;
    position: relative;
    top: -2px;
}

.pet-list {
    padding: 0 20px;
    margin-top: 16px;
}

.pet-list .data-none {
    height: 164px;
    background-color: #F3F4F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-list .data-none .data-text {
    font-size: 14px;
    line-height: 22px;
    color: #888F99;
    text-align: center;
}

.pet-list .data-none .data-text strong {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.pet-list .data-none .data-text:before {
    content: '';
    display: block;
    width: 100%;
    height: 24px;
    background: url('../images/icon_person.png') no-repeat 50% 50%;
    background-size: 24px;
    margin-bottom: 12px;
}

.pet-item {
    border: 1px solid #E7E9EB;
    border-radius: 8px;
    padding: 20px;
}

.pet-list .pet-item+.pet-item {
    margin-top: 10px;
}

.pet-item .flag {
    border-radius: 4px;
    background-color: #EDF2FF;
    line-height: 20px;
    color: #5083FF;
    font-size: 12px;
    padding: 0 6px;
}

.pet-item .pet-desc {
    padding: 13px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pet-item .pet-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #121F34;
}

.pet-item .pet-breed {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #121F34;
}

.pet-item .pet-detail {
    display: flex;
    font-size: 14px;
    color: #888F99;
    gap: 4px;
    line-height: 22px;
}

.pet-item .pet-detail li:last-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pet-item .pet-detail li:last-child:before {
    content: '';
    width: 1px;
    height: 12px;
    background-color: #D0D2D6;
}

.pet-item .ctrl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pet-item .ctrl .btn-del {
    font-weight: 500;
    line-height: 22px;
    color: #E53935;
}

.pet-item .ctrl .btn-sel {
    height: 34px;
    width: 69px;
    border-radius: 17px;
    background-color: #F3F4F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;

}

.pet-item .ctrl .btn-sel span {
    display: flex;
    gap: 4px;
    align-items: center;
    color: #888F99;
    font-weight: 600;
    line-height: 22px;
}

.pet-item .ctrl .btn-sel span:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/icon_sel.png') no-repeat 50% 50%;
    background-size: 100%;

}

.pet-item.on {
    border-color: #5083FF;
    background-color: #EDF2FF;
}

.pet-item.on .ctrl .btn-sel {
    background-color: #5083FF;
    color: #fff;
    ;
}

.pet-item.on .ctrl .btn-sel span {
    color: #fff;
}

.pet-item.on .ctrl .btn-sel span:before {
    background-image: url('../images/icon_sel_checked.png')
}

.btm-layer-wrap.alert .btm-layer {
    padding: 36px 0 0;
}

.btm-layer-wrap.alert .alert-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 8px;
}

.btm-layer-wrap.alert .alert-desc.alert-desc:before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    background: url('../images/icon_alert.png') no-repeat 50% 50%;
    background-size: 100%;
}

.btm-layer-wrap.alert .alert-desc .title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.btm-layer-wrap.alert .alert-desc .text {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #717985;
}

.message-bar {
    position: fixed;
    bottom: -100%;
    left: 50%;
    z-index: 30;
    width: calc(100% - 40px);
    max-width: 1024px;
    margin: 0 auto;
    background-color: #596271;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 1px #00000014;
    transform: translateX(-50%);
}

.qr-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.qr-title .logo-pet {
    margin: 0;
}

.qr-title .title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #003595;
}

.qr-swiper {
    margin-bottom: 10px;
    text-align: center;
    overflow: hidden;
}

.qr-swiper .swiper-wrapper {
    align-items: stretch;
}

.qr-swiper .swiper-slide {
    width: 268px;
    border-radius: 12px;
    border: 1px solid#E7E9EB;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    height: auto;

}

.qr-swiper .swiper-slide .qr-image {
    width: 160px;
    height: 160px;
    margin-bottom: 12px;
}

.qr-swiper .swiper-slide .qr-image img {
    width: 100%;
}

.qr-swiper .swiper-slide .pet-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.qr-swiper .swiper-slide .date {
    line-height: 22px;
    color: #888F99;
}

.qr-swiper .swiper-pagination {
    border-radius: 15px;
    background-color: #003595;
    color: #fff;
    width: auto;
    font-weight: 600;
    line-height: 22px;
    padding: 4px 12px;
    position: static;
    margin-top: 44px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qr-swiper .swiper-pagination .swiper-pagination-total {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qr-swiper .swiper-pagination .swiper-pagination-total:before {
    content: '';
    width: 2px;
    height: 2px;
    display: inline-block;
    border-radius: 100%;
    background-color: #fff;
}

.qr-swiper+.tip-text {
    font-weight: 500;
    line-height: 22px;
    color: #596271;
    text-align: center;
    padding-bottom: 10px;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);

}

.loading .loading-inner {
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

}

@keyframes loading-rotate {
    to {
        transform: rotate(360deg)
    }
}

.loading .circle {
    animation: loading-rotate 1s linear infinite;
}


/* **************************************** *
 * Button
 * **************************************** */
button {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    /* transition: .5s all; */
}

/* button:hover,
button:focus {
    transition: .5s all;
} */

.btn-group {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.btn-group.last {
    flex-direction: row !important;
}

.btn-group.last button:last-child {
    flex: 0 0 auto;
    width: 60% !important;
}

.btn-group.bottom {
    background: var(--pass-write);
    bottom: 0;
    margin: auto 0 0 0;
    padding: 1rem 1.125rem;
    position: sticky;
}

.btn-group>button {
    font-size: var(--pass-text-lg);
    flex: 1 auto;
}

.btn-group.flex-end {
    justify-content: flex-end;
}

.btn-group.flex-center {
    justify-content: center;
}

.btn {
    border: 0;
    border-radius: 0.5rem;
}

.btn-r {
    border-radius: 6.25rem;
}

.btn-mn {
    height: 1.5rem;
    padding: 0 12px;
}

.btn-sm {
    height: 2.75rem;
}

.btn-md {
    height: 3rem;
}

.btn-md.w-200 {
    width: 200px;
}

.btn.w-100 {
    width: 100%;
}

button:disabled {
    background: var(--pass-disabled) !important;
    border: 1px solid var(--pass-disabled) !important;
}

.btn-blue {
    background: var(--dr-blue);
    border: 1px solid var(--dr-blue);
    color: var(--pass-write);
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
    background: var(--dr-navy);
    border: 1px solid var(--dr-navy);
    color: var(--pass-write);
}

.btn-outline-gray {
    background: var(--pass-secondary);
    border: 1px solid var(--pass-line);
    color: var(--pass-black);
    font-size: var(--pass-text-md);
}

.btn-outline-gray:hover,
.btn-outline-gray:focus,
.btn-outline-gray:active {
    background: var(--pass-sub-bg);
    border: 1px solid var(--pass-line);
    color: var(--pass-black);
}

.btn-gray {
    background: var(--pass-black-02);
    border: 1px solid var(--pass-black-02);
    color: var(--pass-write);
}

.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active {
    background: var(--pass-black);
    border: 1px solid var(--pass-black);
    color: var(--pass-write);
}

.btn-darkgray {
    background: var(--pass-darkgray);
    border: 1px solid var(--pass-darkgray);
    color: var(--pass-write);
}

.btn-darkgray:hover,
.btn-darkgray:focus,
.btn-darkgray:active {
    background: var(--pass-black-02);
    border: 1px solid var(--pass-black-02);
    color: var(--pass-write);
}

.btn-outline-darkgray {
    background: var(--pass-write);
    border: 1px solid var(--pass-darkgray);
    color: var(--pass-black);
}

.btn-outline-darkgray:hover,
.btn-outline-darkgray:focus,
.btn-outline-darkgray:active {
    background: var(--pass-write);
    border: 1px solid var(--pass-black-02);
    color: var(--pass-black);
}

/* **************************************** *
 * MODAL
 * **************************************** */
.modal-wrap {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    display: none;
    height: 100%;
    position: fixed;
    transition: opacity 1s ease;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.modal-wrap.active {
    display: flex;
    transition: opacity 1s ease;
}

.modal-inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    transition: transform 0.5s ease;
    transform: translateY(0);
    width: 100%;
}

.modal-content {
    background-color: var(--pass-write);
    border-radius: 0.5rem;
    opacity: 0;
    padding: 1.25rem;
    position: relative;
    transform: translateY(-3.125rem);
    text-align: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-width: 324px;
    width: 100%;
}

.modal-wrap.active .modal-content {
    opacity: 1;
    transform: translateY(0);
}

/* 추가된 스타일: 애니메이션 초기화 */
.modal-wrap.active .modal-inner {
    animation: modalSlideDown 0.5s ease;
}

@keyframes modalSlideDown {
    from {
        transform: translateY(-1.25rem);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.modal-header.vertical {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.modal-header h5 {
    text-align: left;
}

.modal-header button {
    background: none;
    border: 0;
    padding: 0;
}

.modal-title {
    color: var(--pass-black-03);
    font-size: 22px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0 24px 0;
}

.modal-body h1 {
    color: var(--pass-black);
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

.modal-body ul {
    padding: 0 0 0 20px;
    list-style-type: disc;
}

.modal-body ul li {
    line-height: 1.3;
    text-align: left;
}

.modal-body h3 {
    color: var(--pass-black);
    font-size: 18px;
    font-weight: bold;
}

.modal-body p {
    color: var(--pass-darkgray);
    font-size: var(--pass-text-md);
}

#footer {
	background: #212428;
	padding: 20px 0;
	color: #B2B2B2;
	font-size: 14px;
	line-height: 1.4;

	.data {
		position: relative;
		padding-left: 30px;
	}

	.footer-data {
		/* display: flex; */
		gap: 20px;
	}

	.footer-address {
		span {
			display: none;
		}
	}

	.footer-copy {
		margin-top: 6px;
		font-size: 13px;
		color: #878787;
	}

	.footer-copy div a{
		color: #B2B2B2;
	}
}

.btm-ad {
    margin: 20px;
    display: flex;
    justify-content: center;

    .btm-image {
        width: 100%;
        height: auto;
        max-width: 450px;
    }
}

/* 하단 배너 슬라이드 (BottomBanner.svelte) */
.btm-ad .btm-ad-slider {
    width: 100%;
    max-width: 450px;
    min-width: 0;
}

.btm-ad .btm-ad-slider .swiper {
    border-radius: 12px;
}

.btm-ad .btm-ad-slider .swiper-slide a {
    display: block;
}

.btm-ad .btm-ad-slider .btm-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.btm-ad .btm-ad-slider .swiper-pagination {
    bottom: 6px;
}

.btm-ad .btm-ad-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 3px;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.btm-ad .btm-ad-slider .swiper-pagination-bullet-active {
    background: rgba(0, 0, 0, 0.6);
}

/* 회원탈퇴 안내/완료 화면 및 홈 하단 링크 */
#footer .data {
    padding-right: 30px;
}

#footer .footer-withdrawal {
    position: absolute;
    right: 30px;
    top: 0;
}

#footer .footer-withdrawal a {
    color: #B2B2B2;
    font-size: 13px;
}

.withdrawal-page {
    min-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 40px 20px 20px;
    background: #fff;
}

.withdrawal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.withdrawal-logo {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 9px 20px 9px 9px;
    background: #0b3ea3;
}

.withdrawal-logo::before {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 8px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
}

.withdrawal-logo::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0b3ea3;
}

.withdrawal-content h2 {
    margin-bottom: 36px;
    color: #000;
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    text-align: center;
}

.withdrawal-copy {
    width: 100%;
    max-width: 320px;
    color: #777;
    font-size: 14px;
    line-height: 22px;
}

.withdrawal-copy p {
    font-size: 14px;
    line-height: 22px;
}

.withdrawal-copy .strong {
    margin-bottom: 8px;
    color: #111;
    font-weight: 800;
}

.withdrawal-button-area {
    width: 100%;
    margin-top: 40px;
}

.withdrawal-message {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 84px;
    color: #cc2a2b;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}


/* =========================================================
   펫신분증 카드 (/qr/success , /qr/success-new)
   ========================================================= */

/* 스크롤 없이 하단 배너까지 한 화면에 들어오도록 세로 flex 로 구성합니다.
   남는 높이는 전부 사진 영역이 가져갑니다. */
.pet-id-main {
    /* 카드 좌우 여백. 값을 키울수록 옆 카드가 더 많이 보여서 '다음 카드가 있다'는 힌트가 됩니다. */
    --card-gutter: 2.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    overflow: hidden;
    /* 카드 주변과 하단 배너 주변의 배경색을 동일하게 */
    background-color: #F3F4F5;
}

.pet-id-contents {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background-color: #F3F4F5;
    padding-top: 20px;
}

.pet-id-swiper {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.pet-id-swiper .swiper-wrapper {
    flex: 1 1 auto;
    min-height: 0;
}

/* 기존 .qr-swiper .swiper-slide (268px 흰 카드) 값을 덮어씁니다.
   centeredSlides 라서 좌우 여백은 (100% - 슬라이드폭) / 2 = var(--card-gutter) 로 딱 떨어집니다. */
.pet-id-swiper .swiper-slide {
    width: calc(100% - 2 * var(--card-gutter));
    border: 0;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    display: block;
    height: 100%;
}

.pet-id-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── 사진 영역: 남는 높이를 모두 차지합니다 ── */
.pet-id-card .photo {
    position: relative;
    flex: 1 1 auto;
    min-height: 120px;
    width: 100%;
    background-color: #E7E9EB;
    overflow: hidden;
}

.pet-id-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pet-id-card .photo .photo-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #EEF1F4 0%, #DFE4EA 100%);
}

/* 정부상징 엠블럼 (클릭 시 배지 리스트로 이동) */
.pet-id-card .emblem {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background-color: #fff;
    display: block;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.pet-id-card .emblem img,
.pet-id-card .emblem svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── 사진 우측 상단 '...' 메뉴 ── */
.pet-id-card .btn-photo-more {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pet-id-card .btn-photo-more svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.pet-id-card .photo-menu {
    position: absolute;
    right: 8px;
    top: 48px;
    min-width: 148px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    z-index: 10;
}

.pet-id-card .photo-menu button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    font-size: 15px;
    line-height: 22px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
}

.pet-id-card .photo-menu button:active {
    background-color: #F3F4F5;
}

/* ── 정보 영역 ── */
.pet-id-card .info {
    position: relative;
    flex: none;
    padding: 16px;
    background: linear-gradient(180deg, #fff 0%, #fff 55%, rgba(255, 246, 240, 0.6) 100%);
}

/* 신분증 홀로그램 느낌의 옅은 그라데이션 */
.pet-id-card .info:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    pointer-events: none;
    opacity: 0.18;
    background: linear-gradient(90deg,
        #F5C6C6 0%, #F7E3B8 20%, #CDE8C4 40%,
        #BFD9EF 60%, #D3C6EA 80%, #F3C9DC 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}

.pet-id-card .info > * {
    position: relative;
    z-index: 1;
}

/* 기존 .qr-swiper .swiper-slide .pet-name 보다 명시도를 높여 덮어씁니다 */
.pet-id-card .pet-name,
.pet-id-swiper .swiper-slide .pet-name {
    font-weight: 700;
    font-size: 19px;
    line-height: 26px;
    margin-bottom: 8px;
    text-align: left;
}

/* 텍스트 그룹의 상단을 QR 이미지 상단과 같은 선에 맞춥니다 */
.pet-id-card .info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* 라벨/값을 2열 그리드로 묶어 '생년월일'과 '보호자'의 값 시작점을 같은 세로선에 맞춥니다.
   ('생년월일' 4글자, '보호자' 3글자로 폭이 달라 flex 로는 어긋납니다) */
.pet-id-card .info-text {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 10px;
    row-gap: 2px;
    align-content: start;
}

.pet-id-card .info-text .pet-name,
.pet-id-card .info-text .reg-no {
    grid-column: 1 / -1;
}

.pet-id-card .info-text .info-line {
    display: contents;
}

.pet-id-card .reg-no {
    font-size: 15px;
    line-height: 21px;
    color: #111;
    margin-bottom: 3px;
}

/* 값이 비어 있어도 라벨이 행 높이를 유지하므로 등록번호 위치가 흔들리지 않습니다 */
.pet-id-card .info-line {
    font-size: 12px;
    line-height: 18px;
}

.pet-id-card .info-line .label {
    color: var(--pass-gray);
}

.pet-id-card .info-line .value {
    color: var(--pass-darkgray);
}

/* ── 출입 QR (탭하면 확대) ── */
.pet-id-card .btn-qr {
    flex: none;
    width: clamp(104px, 32vw, 128px);
    height: clamp(104px, 32vw, 128px);
    border: 1px solid #444B57;
    border-radius: 8px;
    background-color: #fff;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
}

.pet-id-card .btn-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 하단 배너는 줄어들지 않게 고정, 카드와 동일한 라운드/그림자 */
.pet-id-main .btm-ad {
    flex: none;
    margin: 12px var(--card-gutter); /* 카드와 동일한 좌우 여백 */
}

.pet-id-main .btm-ad .btm-ad-slider {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pet-id-main .btm-image {
    display: block;
    border-radius: 12px;
}

/* ── 출입 인증 완료(skipYn = Y) ── */
/* ── 출입 인증 완료 (간이인증) ── */
.pet-id-swiper .swiper-slide .enter-card {
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 40px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

/* 체크 아이콘 */
.enter-card .enter-mark {
    width: 72px;
    height: 72px;
    border-radius: 100%;
    background-color: #E8F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex: none;
}

.enter-card .enter-mark svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--dr-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.enter-card .enter-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: var(--pass-black-02);
    text-align: center;
}

.enter-card .enter-desc {
    font-size: 14px;
    line-height: 20px;
    color: var(--pass-gray);
    text-align: center;
    margin-top: 6px;
}

/* 반려동물 / 보호자 */
.enter-card .enter-pet {
    width: 100%;
    background-color: #F5F8FF;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    margin: 20px 0 4px;
    flex: none;
}

.enter-card .enter-pet .name {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: var(--pass-black-02);
}

.enter-card .enter-pet .owner {
    font-size: 13px;
    line-height: 19px;
    color: var(--pass-gray);
    margin-top: 2px;
}

.enter-card .enter-pet .owner .bar {
    color: #D9DDE3;
    margin: 0 2px;
}

/* 상세 항목 */
.enter-card .enter-info {
    width: 100%;
    flex: none;
}

.enter-card .enter-info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 2px;
    border-bottom: 1px solid #EEF0F2;
}

.enter-card .enter-info li:last-child {
    border-bottom: 0;
}

.enter-card .enter-info .label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 19px;
    color: var(--pass-darkgray);
}

.enter-card .enter-info .label svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: var(--pass-gray);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.enter-card .enter-info .label svg ellipse,
.enter-card .enter-info .label svg path[d^="M12 12c3"] {
    fill: var(--pass-gray);
    stroke: none;
}

.enter-card .enter-info .value {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--pass-black-02);
    text-align: right;
}

/* ── QR 확대 팝업 ── */
.qr-zoom-dim {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: pointer;
}

.qr-zoom-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
}


/* =========================================================
   배지 리스트 (/badge/list)
   ========================================================= */

/* 헤더가 fixed 라서 그 높이만큼 본문을 밀어줍니다 */
.badge-list-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--header-height);
    background-color: #F3F4F5;
}

.badge-list-main .badge-contents {
    flex: 1 1 auto;
    padding: 20px 1.5rem 24px;
}

.badge-list-main .owner-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
}

/* ── 획득 / 미획득 개수 (2열)
   배지 카드보다는 한 단계 낮은 위계.
   카드는 '흰 배경 + 그림자', 이쪽은 '흰 배경 + 얇은 테두리'로 구분합니다. ── */
.badge-list-main .badge-status {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.badge-list-main .badge-status li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background-color: #fff;
    border: 1px solid #E7E9EB;
    border-radius: 10px;
}

.badge-list-main .badge-status .label {
    font-size: 14px;
    line-height: 20px;
    color: #596271;
}

.badge-list-main .badge-status .count {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #003595;
}

/* ── 배지 리스트 (2열 카드) ── */
.badge-list-main .badge-section + .badge-section {
    margin-top: 28px;
}

.badge-list-main .badge-section-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
}

.badge-list-main .badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.badge-list-main .badge-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px 14px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 저장된 대표 배지: 테두리 강조 + 우측 상단 체크 */
.badge-list-main .badge-card.is-main {
    box-shadow: 0 0 0 2px var(--dr-blue), 0 2px 12px rgba(0, 0, 0, 0.06);
}

.badge-list-main .badge-card.is-main .badge-name {
    color: var(--dr-blue);
}

/* '...' 메뉴가 우측 상단을 쓰므로 체크 표시는 좌측 상단 */
.badge-list-main .badge-card .main-check {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    background-color: var(--dr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-list-main .badge-card .main-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 대표 배지가 아닌 획득 배지: 우측 상단 '...' */
.badge-list-main .badge-card .btn-badge-more {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.badge-list-main .badge-card .btn-badge-more:active {
    background-color: #F3F4F5;
}

.badge-list-main .badge-card .btn-badge-more svg {
    width: 18px;
    height: 18px;
    fill: var(--pass-gray);
}

.badge-list-main .badge-card .badge-menu {
    position: absolute;
    top: 38px;
    right: 8px;
    min-width: 128px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    z-index: 10;
}

.badge-list-main .badge-card .badge-menu button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    color: var(--pass-black-02);
    background-color: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.badge-list-main .badge-card .badge-menu button:active {
    background-color: #F3F4F5;
}

/* 배지 이미지를 강조 */
.badge-list-main .badge-thumb {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1 / 1;
}

/* 이미지가 없을 때만 자리표시자 */
.badge-list-main .badge-thumb.empty {
    border-radius: 100%;
    background-color: #EEF1F4;
}

.badge-list-main .badge-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.badge-list-main .badge-name {
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    color: #333;
    word-break: keep-all;
}

/* 미획득 배지는 비활성화된 것처럼 */
.badge-list-main .badge-card.disabled {
    background-color: #F7F8F9;
    box-shadow: none;
}

.badge-list-main .badge-card.disabled .badge-thumb {
    filter: grayscale(1);
    opacity: 0.45;
}

.badge-list-main .badge-card.disabled .badge-name {
    color: #A6ACB5;
}

/* 카드를 누르면 상세 팝업이 열립니다 */
.badge-list-main .badge-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    background-color: transparent;
    cursor: pointer;
}

/* ── 배지 상세 (하단 팝업) ── */
.badge-detail-dim {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 29;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.badge-detail-layer .btm-layer {
    padding: 40px 20px 32px;
    align-items: center;
}

/* 배지 이미지 */
.badge-detail-layer .badge-detail-thumb {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    flex: none;
}

.badge-detail-layer .badge-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 이미지가 없을 때만 자리표시자 */
.badge-detail-layer .badge-detail-thumb.empty {
    border-radius: 100%;
    background-color: #EEF1F4;
}

.badge-detail-layer h3 {
    padding: 0 0 8px;
    text-align: center;
}

.badge-detail-layer .badge-detail-body {
    width: 100%;
    padding: 0;
    overflow-y: auto;
}

.badge-detail-layer .badge-detail-body p {
    font-size: 15px;
    line-height: 24px;
    color: var(--pass-darkgray);
    white-space: pre-line;
    text-align: center;
}

/* ── 배지 이용 안내 ── */
.btn-badge-help {
    position: fixed;
    top: 0;
    right: 12px;
    z-index: 101; /* 고정 헤더(100) 위 */
    width: 40px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
}

.btn-badge-help svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--pass-black);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-badge-help svg .dot {
    fill: var(--pass-black);
    stroke: none;
}

.badge-guide-layer h3 {
    padding: 0 0 16px;
}

.badge-guide-layer .badge-guide-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: left;
}

.badge-guide-layer .badge-guide-list li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 22px;
    color: var(--pass-darkgray);
    word-break: keep-all;
}

.badge-guide-layer .badge-guide-list li:before {
    content: '';
    position: absolute;
    left: 2px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: var(--pass-gray);
}

.badge-guide-layer .badge-guide-list strong {
    font-weight: 600;
    color: var(--pass-black);
}

/* 배지 이미지를 구름처럼 모아 보여주는 영역 */
.badge-guide-layer .badge-cloud {
    position: relative;
    width: 100%;
    height: 132px;
    margin-bottom: 8px;
}

/* 뒤에 깔리는 옅은 구름 모양 배경 */
.badge-guide-layer .badge-cloud:before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 14px;
    bottom: 4px;
    border-radius: 100px;
    background:
        radial-gradient(circle at 30% 60%, #E8EFFB 0, rgba(232, 239, 251, 0) 60%),
        radial-gradient(circle at 70% 60%, #E8EFFB 0, rgba(232, 239, 251, 0) 60%),
        radial-gradient(circle at 50% 35%, #EEF3FC 0, rgba(238, 243, 252, 0) 65%);
    filter: blur(6px);
}

.badge-guide-layer .badge-cloud-item {
    position: absolute;
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
    border-radius: 100%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 32, 96, 0.14);
    animation: badge-cloud-float 4s ease-in-out infinite;
}

.badge-guide-layer .badge-cloud-item img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: contain;
}

@keyframes badge-cloud-float {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); }
    50%      { transform: translate(-50%, calc(-50% - 5px)) rotate(var(--rot, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .badge-guide-layer .badge-cloud-item { animation: none; }
}

.badge-guide-layer .badge-guide-main {
    width: 100%;
    padding: 0 0 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--pass-black);
    word-break: keep-all;
}
