/**
 * 정보등록 모달 전용 스타일
 * 공통 스타일은 modal-common.css 참조
 */

/* 정보등록 모달 기본 클래스 - 공통 스타일 상속 */
.update-info-modal {
    /* modal-base 스타일 상속 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-info-modal-overlay {
    /* modal-overlay 스타일 상속 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.update-info-modal-container {
    /* modal-container 스타일 상속 */
    position: relative;
    width: 70rem;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 0.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 5vh auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.update-info-modal-header {
    /* modal-header 스타일 상속 */
    background: linear-gradient(135deg, var(--Mint_300, #43b3d9) 0%, var(--Mint_400, #0b8cb7) 100%);
    color: #fff;
    padding: 2.4rem;
    text-align: center;
    position: relative;
}

.update-info-modal-header h3 {
    margin: 0 0 0.4rem 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
}

.update-info-modal-header p {
    margin: 0;
    font-size: 1.4rem;
    opacity: 0.9;
    color: white;
}

.update-info-modal-close {
    /* modal-close 스타일 상속 */
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background: none;
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    color: white;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.update-info-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.update-info-modal-body {
    /* modal-body 스타일 상속 */
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    max-height: calc(90vh - 20rem);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.update-info-modal-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.update-info-modal-footer {
    /* modal-footer 스타일 상속 */
    height: 1.2rem;
}

/* 정보등록 로딩 메시지 */
.update-info-loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
    color: var(--Blue_400, #046EB7);
    font-weight: 600;
    padding: 2rem;
}

/* 정보등록 버튼 영역 */
.update-info-buttons {
    display: flex !important;
    flex-direction: row !important;
    padding-top: 1.6rem;
    gap: 1.2rem !important;
    width: 100% !important;
    justify-content: stretch !important;
}

.update-info-buttons .btn {
    border-radius: 0.8rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    flex: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: 4.8rem !important;
    padding: 1.3rem 1.7rem !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    line-height: 2rem !important;
    min-width: 0 !important;
}

/* 성공/에러 메시지 */
.update-info-success-message,
.update-info-error-message {
    text-align: center;
    padding: 2rem;
    margin-bottom: 1.6rem;
}

.update-info-success-message h3,
.update-info-error-message h3 {
    margin-bottom: 1.6rem;
}

/* 주소 입력 필드 간격 */
#update-info-address, #update-info-address-detail {
    margin-top: 1rem;
}

