:root {
  /* モダンなグラデーションカラー */
  --primary-color: #667eea;
  --primary-dark: #5a67d8;
  --primary-light: #7f9cf5;
  --secondary-color: #48bb78;
  --secondary-dark: #38a169;
  
  /* リッチなカラーパレット */
  --accent-purple: #9f7aea;
  --accent-pink: #ed64a6;
  --accent-blue: #4299e1;
  --accent-teal: #38b2ac;
  
  /* ダークモードに映える色 */
  --dark-color: #1a202c;
  --dark-secondary: #2d3748;
  --dark-tertiary: #4a5568;
  
  /* 洗練された明るい色 */
  --light-color: #f7fafc;
  --light-secondary: #edf2f7;
  --light-tertiary: #e2e8f0;
  
  --gray-color: #cbd5e0;
  --text-color: #2d3748;
  --text-secondary: #718096;
  --text-tertiary: #a0aec0;
  
  --danger-color: #f56565;
  --warning-color: #ed8936;
  --success-color: #48bb78;
  --info-color: #4299e1;
  
  /* 高級感のある影 */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* グラスモーフィズム */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  
  /* 角丸 */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* トランジション */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* グラスモーフィズム背景 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(237, 100, 166, 0.3), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.3), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* ===== ヘッダースタイル ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  margin-left: auto;
  margin-right: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--light-secondary);
  transform: translateY(-2px);
}

.nav-link.active {
  color: white;
  background: var(--gradient-primary);
  box-shadow: var(--shadow);
}

.nav-link.active::after {
  display: none;
}

/* ===== ユーザードロップダウン ===== */
.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  background: var(--light-secondary);
}

.user-dropdown-toggle:hover {
  background: var(--light-tertiary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.user-name {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--text-color);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  width: 260px;
  overflow: hidden;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: dropdownSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-header {
  padding: 1.25rem;
  background: var(--gradient-primary);
  color: white;
}

.user-dropdown-header strong {
  font-size: 1.1rem;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--light-tertiary);
  margin: 0.5rem 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.user-dropdown-item:hover {
  background: var(--light-secondary);
  color: var(--primary-color);
  transform: translateX(4px);
}

.user-dropdown-item i {
  margin-right: 0.75rem;
  color: var(--text-secondary);
  width: 20px;
  text-align: center;
  transition: var(--transition-fast);
}

.user-dropdown-item:hover i {
  color: var(--primary-color);
}

/* ===== メインコンテンツ ===== */
.app-container {
  flex: 1;
  padding: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ===== 認証関連 ===== */
.auth-container {
  max-width: 480px;
  margin: 3rem auto;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  padding: 2.5rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.auth-header h2 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.auth-body {
  padding: 2.5rem 2rem;
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== フォーム ===== */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: 2px solid var(--light-tertiary);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: white;
  color: var(--text-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  display: block;
}

/* フォーム内アイコン */
.form-control-icon {
  position: relative;
}

.form-control-icon i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.form-control-icon input:focus + i {
  color: var(--primary-color);
}

.form-control-icon input {
  padding-left: 3rem;
}

/* パスワードフィールド */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.password-toggle:hover {
  color: var(--primary-color);
}

/* パスワード強度メーター */
.password-strength {
  margin-top: 0.75rem;
}

.strength-meter {
  height: 6px;
  background-color: var(--light-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0;
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.strength-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* ===== ボタン ===== */
.btn {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn i {
  margin-right: 0.5rem;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gradient-success);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid currentColor;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.6rem;
  margin-left: -0.6rem;
  animation: spin 0.6s linear infinite;
}

/* リンクボタン */
.btn-link {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== カード ===== */
.card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--light-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.card-header h2 {
  margin: 0;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-body {
  padding: 2rem;
}

/* ===== ダッシュボードカード ===== */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.card-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  transition: var(--transition);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.card-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.card-button:hover::after {
  opacity: 1;
}

.card-button .card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.card-button:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-button .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.card-button .card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.card-button:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card-button:hover::before {
  height: 100%;
}

.card-button:hover .card-title {
  color: white;
}

.card-button:hover .card-description {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== アニメーション ===== */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* ===== アラート ===== */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
  border-left: 4px solid;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.alert-success {
  background-color: rgba(72, 187, 120, 0.15);
  color: #22543d;
  border-left-color: var(--success-color);
}

.alert-danger {
  background-color: rgba(245, 101, 101, 0.15);
  color: #742a2a;
  border-left-color: var(--danger-color);
}

.alert-info {
  background-color: rgba(66, 153, 225, 0.15);
  color: #2c5282;
  border-left-color: var(--info-color);
}

.alert-warning {
  background-color: rgba(237, 137, 54, 0.15);
  color: #7c2d12;
  border-left-color: var(--warning-color);
}

/* ===== ユーティリティ ===== */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-secondary { color: var(--text-secondary); }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .header-nav {
    margin: 0;
    width: 100%;
  }
  
  .nav-list {
    justify-content: space-between;
    width: 100%;
  }
  
  .app-container {
    padding: 1.5rem;
  }
  
  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-button {
    height: 200px;
  }
}

/* ===== スクロールバー ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-secondary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  border: 2px solid var(--light-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== プロフィールページ ===== */
.profile-header {
  margin-bottom: 2rem;
  text-align: center;
}

.profile-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.profile-header h1 i {
  font-size: 2.5rem;
}

.profile-header .text-secondary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* ローディングコンテナ */
.loading-container {
  text-align: center;
  padding: 3rem 1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-container p {
  color: white;
  font-size: 1rem;
}

/* プロフィールコンテンツ */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* プロフィールカード */
.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.profile-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.profile-card-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  color: white;
}

.profile-card-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-card-body {
  padding: 2rem;
}

/* プロフィールアバターセクション */
.profile-avatar-section {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-avatar-large {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: var(--shadow-md);
}

/* プロフィール情報グリッド */
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.profile-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-info-item label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-info-value {
  font-size: 1rem;
  color: var(--text-color);
  padding: 0.75rem;
  background: var(--light-secondary);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary-color);
  word-break: break-word;
}

/* バッジ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-success {
  background: var(--success-color);
  color: white;
}

.badge-warning {
  background: var(--warning-color);
  color: white;
}

.badge-danger {
  background: var(--danger-color);
  color: white;
}

.badge-info {
  background: var(--info-color);
  color: white;
}

/* グループバッジ */
.profile-groups-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.group-badge {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.group-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.group-badge i {
  margin-right: 0.5rem;
}

/* トグルスイッチ */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-color);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .slider {
  background: var(--gradient-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

input:disabled + .slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .profile-header h1 {
    font-size: 1.5rem;
  }

  .profile-header h1 i {
    font-size: 2rem;
  }

  .profile-info-grid {
    grid-template-columns: 1fr;
  }

  .profile-card-body {
    padding: 1.5rem;
  }

  .profile-avatar-large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
}
