/**
 * 飲みニケーション スタイルシート
 */

/* 全体のスタイル */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    background-color: #FFF8E1; /* 薄いビールっぽい背景 */
}

/* ヘッダー */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand h1 {
    color: white !important;
}

/* ハンバーガーメニュー */
.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ナビゲーションリンク */
.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: rgba(255, 255, 255, 1) !important;
}

.navbar-dark .navbar-collapse {
    background-color: #D4A017;
    padding: 10px;
    border-radius: 0 0 8px 8px;
}

/* ビール色のカスタムカラー */
.bg-beer {
    background-color: #D4A017 !important;
}

.bg-beer-light {
    background-color: #FFF3B8 !important;
}

.text-beer {
    color: #D4A017 !important;
}

.btn-beer {
    background-color: #D4A017 !important;
    border-color: #c09015 !important;
    color: white !important;
}

.btn-beer:hover {
    background-color: #c09015 !important;
}

.btn-outline-beer {
    color: #D4A017 !important;
    border-color: #D4A017 !important;
}

.btn-outline-beer:hover {
    background-color: #D4A017 !important;
    color: white !important;
}

/* フォーム要素 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* カード */
.card {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: bold;
    background-color: #FFF3B8; /* ビールの泡っぽい色 */
}

/* 日程投票 */
.vote-options {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
}

.vote-option {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.vote-option.selected {
    font-weight: bold;
}

.vote-yes {
    border: 2px solid #28a745;
}
.vote-yes.selected {
    background-color: #28a745;
    color: white;
}

.vote-maybe {
    border: 2px solid #ffc107;
}
.vote-maybe.selected {
    background-color: #ffc107;
    color: white;
}

.vote-no {
    border: 2px solid #dc3545;
}
.vote-no.selected {
    background-color: #dc3545;
    color: white;
}

/* イベント詳細 */
.event-details {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #343a40;
}

.event-meta {
    color: #6c757d;
    margin-bottom: 15px;
}

.event-description {
    margin-bottom: 20px;
}

.confirmed-date {
    font-weight: bold;
    color: #D4A017;
    padding: 10px;
    border: 1px solid #D4A017;
    border-radius: 5px;
    display: inline-block;
}

/* 共有ボタン */
.share-container {
    margin: 20px 0;
    text-align: center;
}

.btn-line {
    background-color: #06C755;
    color: white;
}

.share-link {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-top: 10px;
}

.qr-code {
    max-width: 200px;
    margin: 15px auto;
}

/* 参加者リスト */
.participants-list {
    margin-top: 20px;
}

.participant-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.participant-status {
    font-weight: bold;
}

.status-confirmed {
    color: #28a745;
}

.status-declined {
    color: #dc3545;
}

.status-pending {
    color: #ffc107;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
}

/* --- Apple風シンプルラジオボタン --- */
.custom-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 1.7em;
  height: 1.7em;
  margin: 0 0.2em;
}
.custom-radio input[type="radio"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.custom-radio .custom-radio-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  background: #fff;
  transition: border-color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-radio input[type="radio"]:checked + .custom-radio-circle {
  border-color: #007aff;
}
.custom-radio input[type="radio"]:focus + .custom-radio-circle,
.custom-radio input[type="radio"]:hover + .custom-radio-circle {
  border-color: #007aff88;
}
.custom-radio .custom-radio-dot {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #007aff;
  opacity: 0;
  transition: opacity 0.18s;
}
.custom-radio input[type="radio"]:checked + .custom-radio-circle .custom-radio-dot {
  opacity: 1;
}
.custom-radio-label {
  margin-left: 0.3em;
  font-size: 1em;
  color: #222;
  font-weight: 400;
  letter-spacing: 0.01em;
  user-select: none;
  cursor: pointer;
}
/* 色分け用（淡色） */
.custom-radio-yes .custom-radio-circle { border-color: #bfe5c7; }
.custom-radio-yes input[type="radio"]:checked + .custom-radio-circle { border-color: #28a745; }
.custom-radio-yes .custom-radio-dot { background: #28a745; }
.custom-radio-maybe .custom-radio-circle { border-color: #ffe9a7; }
.custom-radio-maybe input[type="radio"]:checked + .custom-radio-circle { border-color: #ffc107; }
.custom-radio-maybe .custom-radio-dot { background: #ffc107; }
.custom-radio-no .custom-radio-circle { border-color: #f7bfc7; }
.custom-radio-no input[type="radio"]:checked + .custom-radio-circle { border-color: #dc3545; }
.custom-radio-no .custom-radio-dot { background: #dc3545; }

/* 利用の流れセクション専用の余白調整 */
.py-5-flow {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Bootstrapのpy-5上書き（padding-bottom削除） */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 0 !important;
}
