/* 메인 컨텐츠 */
.main-content {
    padding: 0 !important;
}

.content {
    padding: 0;
}

/* base.html 검색 영역 숨기기 */
.search-container {
    display: none !important;
}



/* 프로필 이미지 섹션 */
.profile-picture-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 40px 20px;
    
}

.profile-picture-container {
    position: relative;
    margin-bottom: 16px;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.profile-text {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
}

.camera-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #F8F9FA;
    cursor: pointer;
    transition: all 0.2s ease;
}

.camera-icon:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.change-picture-text {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* 사용자 정보 섹션 */
.user-info-section {
    padding: 0 20px;
    margin-bottom: 40px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #E8E9EA;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(86, 170, 178, 1);
    font-size: 16px;
    font-weight: 400;
}

.info-value {
    color: black;
    font-size: 16px;
    font-weight: 400;
}

/* 섹션 공통 스타일 */
.section {
    padding: 0 20px;
    margin-bottom: 40px;
    
}

.section-title {
    color: black;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: left;
}

/* 즐겨찾는 제품 카드 */
.favorite-card {
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #E8E9EA;
    margin-bottom: 20px;
}

.favorite-card:hover {
    background-color: #F0F1F2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.favorite-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.favorite-icon {
    width: 48px;
    height: 48px;
    background-color: #E91E63;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.favorite-title {
    color: black;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.favorite-subtitle {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.favorite-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-text {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* 계정 연동 섹션 */
.link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #E8E9EA;
    cursor: pointer;
}

.link-row:last-child {
    border-bottom: none;
}

.link-row:hover {
    background-color: #F0F1F2;
}

.link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-content .section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: black;
}

.link-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.kakao-icon {
    background-color: #FEE500;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kakao-icon svg {
    width: 16px;
    height: 14px;
}

.kakao-icon svg path {
    fill: black;
}

.google-icon {
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E8E9EA;
}

.google-icon svg {
    width: 16px;
    height: 16px;
}



.link-text {
    color: black;
    font-size: 16px;
    font-weight: 400;
}

.arrow-icon {
    color: #999;
    font-size: 20px;
    font-weight: 300;
}

/* 로그아웃/탈퇴 섹션 */
.section-title {
    cursor: pointer;
    transition: color 0.2s ease;
    border: none;
    background: white;
}

.section-title:hover {
    color: #56AAB2;
}

.withdrawal-text {
    color: #999;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 16px 0;
    cursor: pointer;
}

.withdrawal-text:hover {
    color: #666;
}

/* 로그아웃 확인 모달 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-container {
    max-width: 414px;
    width: 90%;
    margin: 0 auto;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-message {
    font-size: 16px;
    font-weight: 400;
    color: black;
    text-align: center;
    padding: 24px 20px;
    margin: 0;
    border-bottom: 1px solid #E8E9EA;
}

.modal-buttons {
    display: flex;
    height: 56px;
}

.modal-button {
    flex: 1;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cancel-button {
    color: #666;
    border-right: 1px solid #E8E9EA;
}

.cancel-button:hover {
    background-color: #F8F9FA;
}

.confirm-button {
    color: #56AAB2;
    font-weight: 500;
}

.confirm-button:hover {
    background-color: #F0F8F9;
}

/* 모바일 최적화 */
@media (max-width: 414px) {
    .container {
        max-width: 100%;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .info-label,
    .info-value,
    .link-text {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .change-picture-text {
        font-size: 14px;
    }
}

/* 아이폰 SE 대응 */
@media (max-width: 375px) {
    .status-bar {
        padding: 0 16px;
        font-size: 16px;
    }
    
    .header {
        padding: 0 16px;
    }
    
    .content {
        padding: 0;
    }
    
    .user-info-section,
    .section {
        padding: 0 16px;
    }
}

/* 수정하기 버튼 */
.edit-profile-button {
    background: none;
    color: rgba(86, 170, 178, 1);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.edit-profile-button:hover {
    opacity: 0.7;
}

.edit-profile-button:active {
    opacity: 0.5;
}

