/* ===== 我的页面特有样式 ===== */
.my-page {
  background: #f5f7fa;
}

/* 四个菜单行 */
.my-menu-row {
  display: flex;
  background: #1677FF;
  margin: 0;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.my-menu-col {
  flex: 1;
  text-align: center;
  padding: 14px 0 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.my-menu-col:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* 图标立体效果 */
.my-menu-col i {
  font-size: 32px;
  margin-bottom: 6px;
  display: block;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
  transition: transform 0.2s;
}

.my-menu-col:hover i {
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.25));
}

.my-menu-col span {
  font-size: 13px;
  display: block;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 列表项 */
.my-list-item {
  background: #fff;
  margin: 0;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.my-list-item:hover {
  background: #fafafa;
}

.my-list-item > div:first-child {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.my-list-item i {
  margin-right: 12px;
  color: #1677FF;
  flex-shrink: 0;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.my-list-item span {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

.post-count {
  margin-left: 5px;
  color: #999;
  font-size: 14px;
  font-weight: normal;
}

.my-list-item .arrow {
  color: #aaa;
  font-size: 14px;
  transition: color 0.2s;
  margin-left: 10px;
}

.my-list-item:hover .arrow {
  color: #1677FF;
}

/* 发布朋友圈面板 */
.post-panel {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: none;
}

.post-panel h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #1677FF;
}

.post-field {
  margin-bottom: 15px;
}

.post-field label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.post-field input,
.post-field textarea,
.post-field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #D0E7FF;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.post-field input:focus,
.post-field textarea:focus,
.post-field select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.post-field textarea {
  height: 80px;
  resize: none;
}

.address-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.address-select {
  flex: 1;
  padding: 8px 6px;
  border: 1px solid #D0E7FF;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.address-select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* 图片上传区域 */
.image-upload-area {
  border: 2px dashed #D0E7FF;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
  background: #fff;
  transition: background 0.2s;
}

.image-upload-area:hover {
  background: #f5f9ff;
}

.upload-section {
  border: 2px dashed #D0E7FF;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 15px;
  background: #fff;
  transition: background 0.2s;
}

.upload-section:hover {
  background: #f5f9ff;
}

.upload-section p {
  color: #999;
  font-size: 14px;
  margin-top: 10px;
}

.post-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.preview-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #f0f0f0;
}

.preview-item .remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #ff4d4f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.preview-item .remove:hover {
  background: #cf1322;
}

.post-image-preview {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: #f0f0f0;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-image-preview .remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #ff4d4f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.post-image-preview .remove:hover {
  background: #cf1322;
}

.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.post-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.post-actions .btn-primary {
  background: #1677FF;
  color: #fff;
}

.post-actions .btn-primary:focus,
.post-actions .btn-primary:active {
  outline: none;
  box-shadow: none;
  background: #1677FF;
}

.post-actions .btn-default {
  background: #f0f0f0;
  color: #666;
}

.post-actions .btn-default:focus,
.post-actions .btn-default:active {
  outline: none;
  box-shadow: none;
  background: #f0f0f0;
}

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* 全局输入框聚焦暗金色边框 */
input:focus,
select:focus,
textarea:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
    outline: none;
}

/* 我的企业菜单单独无高亮 */
a[href="../enterprise-edit/index.html"] .my-list-item,
a[href="../enterprise-edit/index.html"] {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

a[href="../enterprise-edit/index.html"] .my-list-item:focus,
a[href="../enterprise-edit/index.html"] .my-list-item:active,
a[href="../enterprise-edit/index.html"]:focus,
a[href="../enterprise-edit/index.html"]:active {
    outline: none !important;
    box-shadow: none !important;
    background: inherit !important;
}