/* プロフィールモーダルのスタイル */

/* モーダル背景 */
.profile-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  backdrop-filter: blur(5px);
}

.profile-modal-backdrop.show {
  display: block;
}

/* モーダル本体 */
.profile-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  overflow: hidden;
  padding: 30px;
}

.profile-modal.show {
  display: block;
  z-index: 10000;
}

/* ウェルカムタイトル */
.profile-welcome-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
}

.profile-welcome-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 25px;
}

/* プログレスバー */
.profile-progress-bar {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 30px;
  overflow: hidden;
}

.profile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e3276a, #ff6b9d);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

/* セクション */
.profile-section {
  margin-bottom: 30px;
}

.profile-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-required-badge {
  background: #ff4444;
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  font-weight: normal;
}

.profile-optional-badge {
  background: #888;
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  font-weight: normal;
}

/* フォーム要素 */
.profile-modal .form-control,
.profile-modal .form-select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.profile-modal .form-control:focus,
.profile-modal .form-select:focus {
  border-color: #e3276a;
  box-shadow: 0 0 0 3px rgba(227, 39, 106, 0.1);
  outline: none;
}

.profile-modal label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  display: block;
}

/* フッターボタン */
.profile-footer-buttons {
  position: sticky;
  bottom: 0;
  background: white;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  margin: 0 -30px -30px -30px;
  padding: 20px 30px;
}

.profile-complete-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e3276a, #ff6b9d);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.profile-complete-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 39, 106, 0.3);
}

.profile-skip-link {
  text-align: center;
  margin-top: 15px;
}

.profile-skip-link a {
  color: #666;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.profile-skip-link a:hover {
  color: #e3276a;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .profile-modal {
    width: 95%;
    max-width: none;
    padding: 20px;
    max-height: 95vh;
  }
  
  .profile-welcome-title {
    font-size: 24px;
  }
  
  .profile-welcome-subtitle {
    font-size: 14px;
  }
  
  .profile-section-title {
    font-size: 16px;
  }
  
  .profile-footer-buttons {
    margin: 0 -20px -20px -20px;
    padding: 15px 20px;
  }
}

/* エラー表示 */
.profile-error {
  color: #ff4444;
  font-size: 12px;
  margin-top: 5px;
}

/* 入力グループ */
.profile-modal .input-group {
  display: flex;
  align-items: stretch;
}

.profile-modal .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.profile-modal .input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 10px 15px;
  font-size: 14px;
}

/* カスタムスタイル */
.f-10 {
  font-size: 10px;
}

.f-16 {
  font-size: 16px;
}

.text-muted {
  color: #6c757d;
}