/* ===========================
   TimeRex予約ボタン スタイル
   =========================== */

/* 予約CTAセクション */
.booking-cta-section {
    margin: 2rem 0;
    padding: 0 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.booking-cta-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border: 1px solid #d4e3f4;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    position: relative;
    overflow: hidden;
}

/* 装飾的な背景パターン */
.booking-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.booking-cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.booking-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.booking-cta-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.booking-cta-icon i {
    font-size: 2.5rem;
    color: #3b82f6;
}

.booking-cta-text {
    flex: 1;
    min-width: 250px;
}

.booking-cta-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

.booking-cta-text p {
    margin: 0;
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

/* 予約ボタン */
.booking-btn,
.booking-cta-content .btn.booking-btn {
    flex-shrink: 0;
    font-size: 1.125rem !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600 !important;
    white-space: nowrap;
}

.booking-btn:hover,
.booking-cta-content .btn.booking-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.booking-btn:active {
    transform: translateY(0);
}

.booking-btn i {
    font-size: 1.25rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .booking-cta-section {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .booking-cta-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .booking-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .booking-cta-icon {
        width: 60px;
        height: 60px;
    }
    
    .booking-cta-icon i {
        font-size: 2rem;
    }
    
    .booking-cta-text h3 {
        font-size: 1.5rem;
    }
    
    .booking-cta-text p {
        font-size: 1rem;
    }
    
    .booking-btn,
    .booking-cta-content .btn.booking-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ローディング状態 */
.booking-btn.loading {
    position: relative;
    color: transparent;
}

.booking-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* 予約確認モーダル */
.booking-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.booking-confirmation-modal .modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease-out;
}

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

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

.booking-confirmation-modal h3 {
    color: #10b981;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.booking-confirmation-modal h3 i {
    font-size: 2rem;
}

.booking-details {
    background: #f8fbff;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #d4e3f4;
}

.booking-details p {
    margin: 0.75rem 0;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.booking-details strong {
    color: #1e293b;
    min-width: 80px;
}

.modal-content .note {
    color: #64748b;
    font-size: 0.95rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #fde68a;
}

.modal-content .btn {
    width: 100%;
    margin-top: 1rem;
}