/* Order Confirmation Page Styles */

.order-confirmation-page {
    padding: 120px 0 40px 0;
    background: #f8fafc;
    min-height: 100vh;
}

/* Scope container to only order confirmation page content, not header/footer */
.order-confirmation-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.success-icon {
    font-size: 80px;
    color: #10b981;
    margin-bottom: 20px;
}

.confirmation-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.confirmation-header p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

/* Order Details Section */
.order-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.order-info,
.delivery-info {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.order-info h2,
.delivery-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

.order-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.info-item span {
    color: #6b7280;
}

/* Delivery Details */
.delivery-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.delivery-details p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.delivery-details strong {
    color: #374151;
    font-weight: 600;
}

/* Order Items Section */
.order-items-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.order-items-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

.order-item {
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-clickable {
    border-radius: 8px;
    padding: 15px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.order-item-clickable:hover {
    background: #f9fafb;
}

.order-item-clickable.expanded {
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-expand-icon {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.order-item-clickable.expanded .item-expand-icon {
    transform: rotate(180deg);
    color: #1e3a8a;
}

.item-specs,
.item-specs-preview,
.item-quantity {
    font-size: 14px;
    color: #6b7280;
}

.item-specs-preview {
    margin-top: 4px;
}

.item-price {
    font-weight: 600;
    color: #10b981;
    font-size: 16px;
    margin-left: 20px;
}

/* Item Details Section */
.item-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
}

.item-details-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.item-details-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.item-details-title i {
    color: #3b82f6;
}

.item-details-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-category {
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #3b82f6;
}

.spec-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-category-title i {
    color: #3b82f6;
    font-size: 14px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 14px;
    min-width: 150px;
}

.spec-value {
    color: #374151;
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}

/* Order Summary Section */
.order-summary-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.order-summary-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
}

.summary-row.total {
    padding: 15px 0 0 0;
    border-top: 2px solid #1e3a8a;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* Next Steps Section */
.next-steps-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.next-steps-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Scope button styles to order confirmation page only */
.order-confirmation-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.order-confirmation-page .btn-primary {
    background: #1e3a8a;
    color: white;
}

.order-confirmation-page .btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.order-confirmation-page .btn-outline {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.order-confirmation-page .btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

/* Contact Info */
.contact-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.contact-method h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.contact-method p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .confirmation-header {
        padding: 30px 20px;
    }

    .confirmation-header h1 {
        font-size: 28px;
    }

    .order-details-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .order-confirmation-page .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .order-confirmation-page .container {
        padding: 0 15px;
    }

    .confirmation-header {
        padding: 20px 15px;
    }

    .order-info,
    .delivery-info,
    .order-items-section,
    .order-summary-section,
    .next-steps-section,
    .contact-info {
        padding: 20px 15px;
    }

    .success-icon {
        font-size: 60px;
    }

    .confirmation-header h1 {
        font-size: 24px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-item-clickable .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .item-price {
        align-self: flex-end;
    }

    .item-details-content {
        padding: 15px;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .spec-label {
        min-width: auto;
    }

    .spec-value {
        text-align: left;
    }
}

/* Bank Transfer Section */
.bank-transfer-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #1e3a8a;
}

.bank-transfer-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-transfer-section h2 i {
    font-size: 24px;
}

.bank-transfer-message {
    background: white;
    border-left: 4px solid #1e3a8a;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bank-transfer-message p {
    margin: 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.bank-transfer-details {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.bank-detail-item:last-of-type {
    border-bottom: none;
}

.bank-detail-item label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    min-width: 120px;
}

.bank-detail-item span {
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    flex: 1;
}

.bank-iban {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.bank-transfer-instructions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.bank-transfer-instructions p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .bank-transfer-section {
        padding: 20px;
    }

    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .bank-detail-item label {
        min-width: auto;
    }

    .bank-detail-item span {
        text-align: left;
        width: 100%;
    }
}