/* 
 * Custom Thank You Page Styling
 * Matches the design with the rest of the theme
 */

/* Thank you container */
.thank-you-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* Success icon and title */
.thank-you-icon {
    margin: 0 auto;
    text-align: center;
}

.thank-you-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.thank-you-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.order-number {
    background-color: #f8f9fa;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Order info boxes */
.order-info-box,
.customer-info-box {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    height: 100%;
}

.order-info-box h5,
.customer-info-box h5,
.order-items-box h5 {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.order-info-box ul li {
    color: #555;
}

.order-status {
    font-weight: 500;
    color: #4BB543;
}

.customer-info-box address {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Order items table */
.order-items-table {
    border-collapse: separate;
    border-spacing: 0;
}

.order-items-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 12px;
    font-weight: 600;
    color: #333;
}

.order-items-table tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.order-items-table tfoot th,
.order-items-table tfoot td {
    padding: 10px 12px;
    border-top: 1px solid #dee2e6;
}

.order-items-table tfoot tr:last-child {
    font-weight: bold;
    font-size: 1.05rem;
}

.order-items-table tfoot tr:last-child td {
    color: #f8594a;
}

.product-image img {
    border-radius: 4px;
    border: 1px solid #eee;
    object-fit: cover;
}

.product-name {
    font-weight: 500;
    color: #333;
}

/* Action buttons */
.tf-btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #f8594a;
    color: white;
    border: 1px solid #f8594a;
}

.btn-primary:hover {
    opacity: 0.9;
    color: white;
}

.btn-outline-primary {
    background-color: transparent;
    color: #f8594a;
    border: 1px solid #f8594a;
}

.btn-outline-primary:hover {
    background-color: #fff6f5;
    color: #f8594a;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .customer-info-box {
        margin-top: 20px;
    }
    
    .order-items-table {
        min-width: 600px;
    }
}
