/* プロフィールセクション用スタイル */

/* アバター画像セクション */
.profile-section-avatar-container {
  margin-bottom: 20px;
  text-align: center;
}

.profile-section-avatar-form {
  margin-top: 10px;
}

.profile-section-avatar-form form {
  display: inline-block;
}

.profile-section-avatar-form input[type="file"] {
  margin-bottom: 5px;
}

.profile-section-avatar-form .primall-btn {
  display: inline-block;
  background-color: #ec4899;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
}

.profile-section-avatar-form .primall-btn i {
  margin-right: 5px;
}

.profile-section-avatar-hint {
  font-size: 0.8em;
  color: #6b7280;
  margin-top: 5px;
}

.profile-section-avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* 基本情報セクション */
.profile-section-basic-info {
  margin-bottom: 15px;
}

.profile-section-readonly {
  color: #6b7280;
  font-size: 0.9em;
}

.profile-section-unset {
  color: #6b7280;
}

/* クリエイター情報セクション */
.profile-section-creator-info {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
  margin-top: 15px;
}

.profile-section-creator-info h5 {
  color: #ec4899;
  margin-bottom: 10px;
}

.profile-section-creator-info h5 i {
  margin-right: 5px;
}

.profile-section-creator-info-content {
  margin-bottom: 15px;
}

.profile-section-description-box {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
  margin-top: 5px;
}

/* 配送先住所セクション */
.profile-section-billing-address {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
  margin-top: 15px;
}

.profile-section-billing-address h5 {
  color: #ec4899;
  margin-bottom: 10px;
}

.profile-section-billing-address h5 i {
  margin-right: 5px;
}

.profile-section-billing-address-content {
  font-size: 0.9em;
  line-height: 1.6;
}

/* 編集・設定セクション */
.profile-section-edit-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-section-edit-btn {
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-section-edit-btn i {
  margin-right: 8px;
}

.profile-section-edit-btn-account {
  background-color: #6366f1;
}

.profile-section-edit-btn-password {
  background-color: #f59e0b;
}

.profile-section-edit-btn-sales {
  background-color: #10b981;
}

/* プロフィールリンクセクション */
.profile-section-link-container {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.profile-section-link-container h5 {
  color: #ec4899;
  margin-bottom: 15px;
}

.profile-section-link-container h5 i {
  margin-right: 8px;
}

.profile-section-link-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.profile-section-link-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #374151;
}

.profile-section-link-text-container {
  background: rgba(255, 255, 255, 0.4);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-family: monospace;
  word-break: break-all;
  position: relative;
}

.profile-section-link-copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #ec4899;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
}

.profile-section-link-preview {
  margin-top: 10px;
}

.profile-section-link-preview a {
  color: #3b82f6;
  text-decoration: none;
}

.profile-section-link-preview a i {
  margin-right: 5px;
}

/* 背景画像管理セクション */
.profile-section-bg-image-container {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.profile-section-bg-image-container h5 {
  color: #ec4899;
  margin-bottom: 15px;
}

.profile-section-bg-image-container h5 i {
  margin-right: 8px;
}

.profile-section-bg-image-preview-box {
  width: 100%;
  max-width: 150px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.profile-section-bg-image-preview-box h6 {
  color: #374151;
  margin-bottom: 10px;
  font-size: 0.9em;
}

.profile-section-bg-image-preview {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-section-bg-image-form {
  margin-bottom: 15px;
}

.profile-section-bg-image-form input[type="file"] {
  margin-bottom: 10px;
}

.profile-section-bg-image-form button {
  background: #ec4899;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.profile-section-bg-image-form button i {
  margin-right: 5px;
}

.profile-section-bg-image-hint {
  font-size: 0.9em;
  color: #6b7280;
}

/* 一般ユーザー（customer/subscriber）用プロフィール編集フォーム */
.purimall-user-profile-container {
  margin-bottom: 2em;
}

.purimall-user-profile-message {
  color: green;
  margin-bottom: 1em;
}

.purimall-user-profile-form {
  margin-top: 1em;
}

.purimall-user-profile-info {
  margin-bottom: 1em;
}

.purimall-user-profile-avatar {
  margin-bottom: 1em;
}

.purimall-user-profile-avatar-image {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.purimall-user-profile-avatar-input {
  margin-top: 0.5em;
}

.purimall-user-profile-field {
  margin-bottom: 1em;
}

.purimall-user-profile-input {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.purimall-user-profile-textarea {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
}

.purimall-user-profile-submit {
  text-align: right;
}

.purimall-user-profile-button {
  background: #10b981;
  color: #fff;
  padding: 0.5em 1.2em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.purimall-user-profile-button:hover {
  background: #059669;
}

