body {
    background-color: #bfd0ff;
}
/* data picker */
.datepicker-container {
    position: relative;
}
.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}
.datepicker table tr td.active {
    background-color: #007bff;
    color: white;
}
.datepicker table tr td.today {
    background-color: #ffc107;
    color: #212529;
}
.datepicker table tr td.today:hover {
    background-color: #e0a800;
}


/* ===== 共通スタイル ===== */

/* CSS変数定義 */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --pastel-green: #e8f5e8;
    --border-radius: 8px;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 15px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* 共通背景色 */
.bg-pastel-green {
    background-color: #a4ff96;
}

/* 共通ラベルスタイル */
.label-column {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 15px;
}

.value-column {
    background-color: white;
    padding: 15px;
}

/* 共通ボタンスタイル */
.btn-home {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: var(--transition);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 共通アニメーション */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

/* 共通情報表示スタイル */
.info-card {
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
}

.info-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
}

/* 共通コンタクト情報スタイル */
.contact-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
}

/* 共通空状態表示 */
.empty-transaction {
    color: #6c757d;
    font-style: italic;
}

/* ===== 確認画面専用スタイル ===== */

.confirmation-table {
    background-color: var(--light-color);
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.transaction-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.transaction-section {
    border-bottom: 1px solid #dee2e6;
    padding-left: 15px; /* 左余白を追加 */
}

.transaction-section:last-child {
    border-bottom: none;
}

/* ===== 完了画面専用スタイル ===== */

.completion-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.completion-icon {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.animation-check {
    animation: checkmark 0.6s ease-in-out 0.9s both;
    transform-origin: center;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.reservation-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.next-steps {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 5px;
}



/* ===== レスポンシブ対応 ===== */

@media (max-width: 768px) {
    .label-column, .value-column {
        padding: 10px;
    }
    
    .completion-icon {
        font-size: 3rem;
    }
    
    .reservation-number {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .btn-home {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .completion-card {
        margin: 0 10px;
        padding: 30px 20px !important;
    }
    
}

/* ===== 印刷用スタイル ===== */

@media print {
    .btn, footer, .fade-in { 
        display: none !important; 
    }
    
    .completion-card { 
        background: var(--primary-color) !important; 
        -webkit-print-color-adjust: exact; 
    }
    
    .label-column { 
        background: var(--primary-color) !important; 
        -webkit-print-color-adjust: exact; 
    }
    
    body { 
        font-size: 12px; 
    }
    
    .container-lg {
        max-width: 100% !important;
        padding: 0 !important;
    }
}


    #loading {
      display: none;
      font-weight: bold;
      font-size: 1.2em;
      color: blue;
      text-align: center;
      margin-top: 20px;
    }