/**
 * BT Thank You Page Styles - With Order Details Popup
 * Save as: assets/bt-thankyou.css
 */

/* ✅ NEW: "See Order Details" Button */
.bt-see-order-details-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #5514B4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(85, 20, 180, 0.2);
}
.bt-checkout-wrapper br,
.bt-checkout-wrapper p:empty,
.bt-thankyou-section p:empty,
.bt-thankyou-section br
{ 
    display: none;
}
.bt-see-order-details-btn:hover {
    background: #6c1fd4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 20, 180, 0.3);
}

.bt-see-order-details-btn:active {
    transform: translateY(0);
}

/* ✅ Order Details Modal */
.bt-order-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bt-order-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.bt-order-details-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    padding: 30px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 ul.bt-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
                .bt-admin-address-section {
                    margin-top: 20px;
                    padding: 15px;
                    background: #f8f9fa;
                    border: 1px solid #ddd;
                    border-radius: 4px;
                }
                
                .bt-admin-address-section h3 {
                    margin-top: 0;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }
                
                .bt-verified-badge {
                    background: #4CAF50;
                    color: white;
                    padding: 2px 8px;
                    border-radius: 3px;
                    font-size: 12px;
                }
                
                .bt-admin-meta {
                    margin: 8px 0;
                    font-size: 13px;
                }
                
                .bt-admin-order-data {
                    margin-top: 15px;
                    padding-top: 15px;
                    border-top: 1px solid #ddd;
                }
                
                .bt-appointment-date {
                    background: #E8F5E9;
                    padding: 8px;
                    border-radius: 4px;
                    border-left: 3px solid #4CAF50;
                }
.bt-support-details a{
    color:#10446C;
}
.bt-support-details a:hover{
    color:#10446C;
    text-decoration: underline;
}
.bt-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    padding: 0;
}

.bt-modal-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.bt-order-details-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #5514B4;
    font-size: 28px;
    border-bottom: 2px solid #5514B4;
    padding-bottom: 15px;
}

/* ✅ Order Details Sections */
.bt-order-details-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bt-detail-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #5514B4;
}

.bt-detail-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.bt-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.bt-detail-table th,
.bt-detail-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.bt-detail-table th {
    font-weight: 600;
    color: #555;
    width: 40%;
}

.bt-detail-table td {
    color: #333;
}

.bt-detail-table tr:last-child th,
.bt-detail-table tr:last-child td {
    border-bottom: none;
}

/* ✅ Items Table */
.bt-items-table thead th {
    background: #5514B4;
    color: white;
    font-weight: 600;
    padding: 15px 12px;
}

.bt-items-table tbody tr:hover {
    background: #f5f5f5;
}

.bt-items-table tfoot th,
.bt-items-table tfoot td {
    padding: 15px 12px;
    font-weight: 600;
}

.bt-items-table .bt-total-row th,
.bt-items-table .bt-total-row td {
    background: #f0f0f0;
    font-size: 18px;
    color: #5514B4;
}

/* ✅ Address Styling */
.bt-detail-section address {
    font-style: normal;
    line-height: 1.8;
    color: #555;
}

.bt-detail-section address strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

/* ✅ Status Badge */
.bt-status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* ✅ Code Styling */
code {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #5514B4;
}

/* ✅ Existing Thank You Section Styles */
.bt-thankyou-section {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.bt-thankyou-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.bt-thankyou-icon {
    margin-bottom: 20px;
}

.bt-thankyou-header h2 {
    color: #2A2A2A;
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.bt-thankyou-subtitle {
    color: #666;
    font-size: 18px;
    margin: 0 !important;
}

/* ✅ Existing Card Styles */
.bt-thankyou-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bt-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.bt-card-icon {
    font-size: 28px;
}

.bt-card-header h3 {
    margin: 0;
    color: #2A2A2A;
    font-size: 22px;
    font-weight: 600;
}

.bt-card-body {
    color: #555;
    line-height: 1.8;
}

.bt-address-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #5514B4;
}
.bt-address-display br{
    display: none;
}
.bt-address-display strong {
    display: block;
    color: #2A2A2A;
    font-size: 16px;
    margin-bottom: 5px;
}

.bt-address-meta,
.bt-order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bt-order-info-row:last-child {
    border-bottom: none;
}

.bt-meta-label,
.bt-info-label {
    font-weight: 600;
    color: #666;
}

.bt-meta-value,
.bt-info-value {
    color: #2A2A2A;
}

.bt-order-id {
    font-family: 'Courier New', monospace;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.bt-appointment-highlight {
    background: #E8F5E9;
    margin: 15px -15px;
    padding: 15px;
    border-radius: 6px;
}

.bt-appointment-date {
    color: #2E7D32;
    font-weight: 700;
    font-size: 16px;
}
#bt-show-order-details {
    display: inline-flex;
    padding: 10px;
    margin:10px auto 0;
    cursor: pointer; 
    font-weight: 700;
     text-decoration: none;
}
 
/* ✅ Responsive Design */
@media (max-width: 768px) {
    .bt-order-details-content {
        padding: 20px;
        margin: 10px;
    }
    
    .bt-order-details-content h2 {
        font-size: 24px;
    }
    
    .bt-detail-table th,
    .bt-detail-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .bt-detail-table th {
        width: 35%;
    }
    
    .bt-items-table {
        font-size: 14px;
    }
    
    .bt-items-table thead th,
    .bt-items-table tbody td,
    .bt-items-table tfoot td {
        padding: 10px 8px;
    }
}