/* Booking Inquiry 페이지 스타일 */

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #5a67d8;
}

.breadcrumb-nav i {
    color: #999;
    font-size: 0.75rem;
}

.breadcrumb-nav span {
    color: #666;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: #fff;
    color: #000;
    padding: 3rem 0;
    text-align: center;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.search-tab {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tab.active {
    background: white;
    color: #667eea;
    border-bottom: 3px solid #667eea;
}

.search-tab:hover {
    background: #f0f4ff;
    color: #667eea;
}

.search-form {
    display: none;
    padding: 2.5rem;
}

.search-form.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

.inquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.inquiry-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.inquiry-form input:focus {
    outline: none;
    border-color: #ff4e45;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.inquiry-form small {
    display: block;
    margin-top: 0.5rem;
    color: #999;
    font-size: 0.85rem;
}

.search-btn,
.inquiry-search-btn {
    width: 100%;
    background: #ff4e45;
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.search-btn:hover,
.inquiry-search-btn:hover {
    background: #ff4e45;
    transform: translateY(-2px);
}

.search-btn i,
.inquiry-search-btn i {
    margin-right: 0.5rem;
}

/* Results Section */
.results-section {
    padding: 4rem 0;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.results-count {
    color: #666;
    font-size: 1.1rem;
}

.booking-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.booking-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.booking-number {
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.booking-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}
.status-wait{
	background: #ede8d4;
    color: #575715;
}
.status-wait-wrap{
    border: 2px dotted #ede8d4;
}
.status-confirmed {
    background: #d4edda;
    color: #155724;
}
.status-confirmed-wrap {
    border: 2px dotted #d4edda;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}
.status-cancelled-wrap{
	border: 2px dotted #f8d7da;
}
.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}
.status-completed-wrap{
	border: 2px dotted #0c5460;
}


/* 인증번호 관련 스타일 */
.phone-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.phone-input-group input {
    flex: 1;
}

.btn-verification {
    background: #fff;
    color: #ff4e45;
    border: 1px solid #ff4e45;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verification:hover {
    background: #ff4e45;
    color:#fff
}

.btn-verification:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.verification-group {
    animation: slideDown 0.3s ease-out;
}

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

.verification-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.verification-input-group input {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.verification-timer {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 50px;
}

.btn-verify {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: #218838;
}

.btn-verify:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.verification-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.verification-message.success {
    color: #28a745;
}

.verification-message.error {
    color: #dc3545;
}

.btn-verify.verified {
    background: #6c757d;
    cursor: default;
    color:#fff
}

.btn-verify.verified:hover {
    background: #6c757d;
}

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .phone-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .verification-input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .verification-timer {
        text-align: center;
        min-width: auto;
    }
}

/* 상태 필터 탭 스타일 */
.status-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 12px;
}

.status-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.status-tab:hover {
    background: #e9ecef;
    color: #333;
}

.status-tab.active {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.status-tab.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.status-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-tab.active .status-count {
    background: rgba(255, 255, 255, 0.3);
}

.status-tab:not(.active) .status-count {
    background: #dee2e6;
    color: #6c757d;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4e45;
}

.detail-content h4 {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-content p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.booking-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    border-color: #ff4e45;
    color: #ff4e45;
}

.action-btn.primary {
    background: #ff4e45;
    color: white;
    border-color: #ff4e45;
}

.action-btn.primary:hover {
    background: #ff4e45;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #999;
    font-size: 2rem;
}

.no-results h3 {
    color: #333;
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.help-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.help-link {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ff4e45;
    color: #ff4e45;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.help-link:hover {
    background: #ff4e45;
    color: white;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-outline {
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
}

/* Help Section */
.help-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.help-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.help-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.help-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.help-item .help-icon {
    width: 60px;
    height: 60px;
    background: #ff4e45;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.help-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

.help-item p {
    color: #666;
    line-height: 1.6;
}

/* Quick Links */
.quick-links {
    padding: 3rem 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.quick-link:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-3px);
}

.quick-link i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quick-link span {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .search-section {
        padding: 3rem 0;
    }
    
    .search-wrapper {
        margin: 0 1rem;
    }
    
    .search-form {
        padding: 2rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    
    .booking-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-content,
    .modal-footer {
        padding: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .search-tab {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .booking-card {
        padding: 1rem;
    }
    
    .help-item {
        padding: 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .quick-link {
        padding: 1.5rem 1rem;
    }
    
    .quick-link i {
        font-size: 1.5rem;
    }
}
