@font-face {
    font-family: "NanumGothic";
    src: url(../font/NanumGothic.woff) format('woff');
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'NanumGothic';
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'NanumGothic';
    font-size: 20px;
    background: #ffffff;
    color: #333;
}
a {
    text-decoration: none; /* ¹ØÁÙ Á¦°Å */
    color: inherit; /* ºÎ¸ð »ö»ó µû¶ó°¡±â(ÆÄ¶õ»ö Á¦°Å) */
}
.wrapper {
    width: 100%;
    max-width: 480px; /* ¸ð¹ÙÀÏ Å©±â ±âÁØ ÃÖ´ë Æø */
    margin: 0 auto; /* ÁÂ¿ì ¿©¹é ÀÚµ¿À¸·Î ¹èºÐ (°¡¿îµ¥ Á¤·Ä) */
    background: #f2f2f2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/***index start**/
.top-section {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.indx-header {
    padding: 16px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}

.index-info {
    display: flex;
    flex-direction: column;
    background: #fff;
}


.branch-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #ddd;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.text-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-info .placeholder {
    color: #777;
    font-size: 0.95rem;
}

.text-info .title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
}

.text-info .address {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.text-info .amenities {
    display: flex;
    gap: 16px;
}

.text-info .amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #333;
}

.text-info .icon {
    font-size: 1.2rem;
    line-height: 1;
}
.btn-use {
    margin-top: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color .2s;
}

.btn-use:hover {
    background-color: #0056b3;
}
.list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* ½ºÅ©·Ñ¹Ù¸¸ C¿µ¿ª¿¡¼­ µ¿ÀÛ */
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 16px;
    cursor: pointer;
    transition: transform .1s;
}

.card:hover {
    transform: translateY(-2px);
}

.card h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111;
}

.card p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.4;
}

.amenities {
    display: flex;
    gap: 16px;
    margin: 10px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: #333;
}


.btn-door {
    align-self: flex-start;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color .2s;
}

.bgR {
    background: red;
}
/***index end**/
.header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

.header span {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 10;
}

.user-menu-container {
    position: relative;
    display: flex; /* ¹öÆ°µéÀ» °¡·Î·Î Á¤·Ä */
    align-items: center; /* ¼öÁ÷ Áß¾Ó Á¤·Ä */
    gap: 8px; /* ¹öÆ° »çÀÌ °£°Ý */
    }

.user-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
}

.user-btn svg {
    width: 100%;
    height: 100%;
    fill: #555;
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-top: 8px;
    min-width: 100px; /* ¡ç ¿©±â¼­ ÃÖ¼Ò ³Êºñ ÁöÁ¤ */
}

.user-menu a {
    padding: 8px 12px;
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: background .2s;
    white-space: nowrap; /* ÅØ½ºÆ®°¡ ÁÙ ¹Ù²ÞµÇÁö ¾Êµµ·Ï */
}

.user-menu a:hover {
    background: #f0f0f0;
}

.lang-btn {
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: #eee;
}
/* Info ¿µ¿ª */
.info {
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info .address {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

.info .amenities {
    display: flex;
    gap: 16px;
}

.info .amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: #333;
}

.info .icon {
    font-size: 1.2rem;
    line-height: 1;
}

.btn-door {
    align-self: flex-start;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color .2s;
}

.btn-door:hover {
    background: #0056b3;
}
/* Sizes ¿µ¿ª */
.sizes {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.size-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.size-card .label {
    font-size: 0.95rem;
    color: #555;
}

.size-card .count {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-top: 4px;
}
/* Actions ¿µ¿ª */
.actions {
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.actions button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color .2s;
}

.actions button:hover {
    background: #0056b3;
}
/***********showBox*************/
.content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 16px 0px 16px;
    margin-bottom: 0px; /* footer ³ôÀÌ¸¸Å­ ¿©¹é */
}
.locker-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.size-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.size-option.selected {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.size-option .label {
    font-size: 1rem;
    font-weight: 600;
}

.size-option .number {
    font-size: 0.95rem;
    color: #555;
}
/* »ó¼¼ »çÀÌÁî */

/* °íÁ¤ ÇÏ´Ü ¹öÆ° */
.footer {
    width: 100%;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.footer button {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.footer button:hover {
    background: #0056b3;
}

.content2 {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    margin-bottom: 72px; /* footer ³ôÀÌ ºÐ¸®¿ë */
}

.size-detail {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.size-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.size-item .label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.size-item svg {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.size-item .dim-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.info2 {
    background: #fff;
    padding: 12px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 20px;
    font-weight: bold;
}

/**selectDay***/
/* ±â°£ ¼±ÅÃ */

.boxRapper {
    background: #fff;
    padding: 12px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin:10px 0px 20px 0px;
    font-weight: bold;
}
.boxRapper span {
    font-weight: 600;
    color: #007bff;
}

.duration {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.duration-option {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.duration-option.selected {
    border-color: #007bff;
    background: rgba(0,123,255,0.1);
}
/* 1. ±Ý¾× ¾È³» */
.pricing {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    display: none;
}

.pricing div {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.pricing .price-label {
    font-weight: 600;
    color: #007bff;
}

/* 2. °áÁ¦ ¼ö´Ü ¼±ÅÃ */
.payment-method {
    display: none;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.payment-method .payment-option {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 12px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.payment-method .payment-option.selected {
    border-color: #007bff;
    background: rgba(0,123,255,0.1);
}

/**findInfo*/

.box-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.box-option {
    background: #fff;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-option.selected {
    border-color: #007bff;
    background: rgba(0,123,255,0.1);
}

.box-option .number {
    font-size: 1rem;
    font-weight: 600;
}
/* 3. ¼±ÅÃÇÑ ÇÔ »ó¼¼ Á¤º¸ */
.box-detail {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.box-detail div {
    font-size: 0.95rem;
    color: #333;
}

.box-detail .label {
    font-weight: 600;
    color: #007bff;
}
/***¸ð´Þ**/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    width: 80%;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-align: center;
}

.modal p {
    margin-bottom: 24px;
    font-size: 1rem;
    color: #333;
}

.modal .btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.modal .yes {
    background: #007bff;
    color: #fff;
}

.modal .yes:hover {
    background: #0056b3;
}

.modal .no {
    background: #ccc;
    color: #333;
}

.modal .no:hover {
    background: #999;
}
.font-blue {
    color: blue;
}
.font-red {
    color: red;
}
/************login**************/
.login-rapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #333;
    height: 100vh;
    min-height: 500px;
}

.login-container {
    background: #fff;
    width: 100%;
    max-width: 360px;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-container h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color .2s;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}

.remember {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.remember input {
    margin-right: 8px;
}

.login-btn-basic {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.login-btn-Kakao {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    margin-bottom: 8px;
}
    .login-btn-Kakao > img {
        width:100%;
    }

.btn-login {
    background: #007bff;
    color: #fff;
    margin-bottom: 12px;
}

.btn-login:hover {
    background: #0056b3;
}

.btn-kakao {
    background: #F7E600;
    color: #3C1E1E;
    margin-bottom: 12px;
}

.btn-kakao:hover {
    background: #E6D200;
}

.grayBg {
    background: #808088;
}

/*join  + + + + + + + + + + + + */
.join-wrapper {
    display: flex;
    flex-direction: column;
    
    background: #f2f2f2;
    color: #333;
}
/* Header */
.join-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

.join-header h1 {
    font-size: 1.25rem;
    font-weight: bold;
}

.user-menu-container {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
}

.user-btn svg {
    width: 100%;
    height: 100%;
    fill: #555;
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-top: 8px;
    min-width: 100px; /* ¡ç ¿©±â¼­ ÃÖ¼Ò ³Êºñ ÁöÁ¤ */
}

.user-menu a {
    padding: 8px 12px;
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: background .2s;
    white-space: nowrap; /* ÅØ½ºÆ®°¡ ÁÙ ¹Ù²ÞµÇÁö ¾Êµµ·Ï */
}

.user-menu a:hover {
    background: #f0f0f0;
}

/* Main content */
.join-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-bottom: 84px; /* footer space */
    overflow-y: auto;
}

.terms {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.terms-content {
    height: 200px;
    padding: 12px;
    overflow-y: auto;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #555;
}

.agree {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

.agree input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.agree label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

.join-container {
    background: #fff;
    width: 100%;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* ½Å±Ô ¸ÞÀÎ */
.card-main {
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0px;
}

.title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-btn-wrap {
    width: 40%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.info-area {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.title {
    white-space: nowrap; /* ÁÙ¹Ù²Þ ±ÝÁö */
    overflow: hidden; /* ³ÑÄ¡´Â ºÎºÐ ¼û±è */
    text-overflow: ellipsis; /* ... Ç¥½Ã */
}
.title-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.title-info .title-area {
    font-size: 20px;
    font-weight: bold;
}

.title-info .address {
    font-size: 14px;
    color: #555;
}

.title-nfo .distance {
    width: 50px;
    text-align: center;
    background: #eee;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 20px;
}

.thumbnail {
    width: 130px;
    height: 130px;
    background: #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #444;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.btn-area {
    display: flex;
}

.tel-btn-wrap {
    margin-top: 15px;
    width: 30%;
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.map-buttons {
    margin-top: 15px;
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: flex-end;
}

.card-basic-button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #efefef;
    font-size:16px
}

.map-naver-color {
    background: #03c75a; /* ³×ÀÌ¹ö ÃÊ·Ï */
}

.map-kakao-color {
    background: #fee500; /* Ä«Ä«¿À ³ë¶û */
    color: #333;
}

.map-google-color {
    background: #4285f4; /* ±¸±Û ÆÄ¶û */
}

.btn-color-orange {
    background: #FA8615;
}

.tel-btn-color {
    background: #CBD5E1;
    width: 100px;
    text-align: center;
}