/* edit-account.css */
/* /mypage/edit-account ページ用スタイル */

.woocommerce-MyAccount-navigation {
  display: none !important;
}

.woocommerce-MyAccount-content {
  margin: 0 auto !important;
  float: none !important;
  max-width: 600px;
  padding: 2em;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

h1.entry-title[itemprop="headline"] {
  display: none !important;
}

/* フォームセクション */
.purimall-edit-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.purimall-edit-section h3 {
  margin: 0 0 15px 0;
  color: #ec4899;
  font-size: 1.2em;
  display: flex;
  align-items: center;
}

.purimall-edit-section h3 i {
  margin-right: 10px;
}

.purimall-form-field {
  margin-bottom: 15px;
}

.purimall-form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.purimall-form-field input,
.purimall-form-field textarea,
.purimall-form-field select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.purimall-form-field textarea {
  min-height: 80px;
  resize: vertical;
}

.purimall-submit-section {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* 成功メッセージ */
.purimall-edit-message {
  background: #d1edff;
  border: 1px solid #bee5eb;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.purimall-edit-message p {
  margin: 0;
  color: #0c5460;
}

.purimall-edit-message i {
  margin-right: 8px;
}

/* バナーリンク */
.purimall-banner-links-container {
  margin-bottom: 15px;
}

.purimall-banner-link-row {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  background: #f9fafb;
}

.purimall-banner-link-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.purimall-banner-link-url-wrap {
  width: 100%;
}

.purimall-banner-link-url-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.purimall-banner-link-image-wrap {
  width: 100%;
}

.purimall-banner-link-image-wrap input[type="file"] {
  width: 100%;
  box-sizing: border-box;
}

.purimall-banner-link-preview {
  margin-bottom: 10px;
}

.purimall-banner-link-preview img {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.purimall-banner-link-actions {
  margin-top: 5px;
}

.purimall-banner-link-remove {
  background: #6b7280;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.purimall-banner-link-remove:hover {
  background: #4b5563;
}

.purimall-banner-link-add {
  background: linear-gradient(135deg, #ec4899, #f472b6);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.purimall-banner-link-add:hover {
  opacity: 0.9;
}

