/* _content/WebshopB2C.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1sgwultgfj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1sgwultgfj] {
    flex: 1;
}

.sidebar[b-1sgwultgfj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-1sgwultgfj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1sgwultgfj]  a, .top-row[b-1sgwultgfj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1sgwultgfj]  a:hover, .top-row[b-1sgwultgfj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1sgwultgfj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1sgwultgfj] {
        justify-content: space-between;
    }

    .top-row[b-1sgwultgfj]  a, .top-row[b-1sgwultgfj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1sgwultgfj] {
        flex-direction: row;
    }

    .sidebar[b-1sgwultgfj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1sgwultgfj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1sgwultgfj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1sgwultgfj], article[b-1sgwultgfj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-1sgwultgfj] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-1sgwultgfj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/WebshopB2C.Web/Components/Pages/Checkout.razor.rz.scp.css */
.checkout-page[b-fc83ye38gt] {
    padding: 20px 0;
}

.checkout-page h1[b-fc83ye38gt] {
    margin-bottom: 30px;
    color: #333;
}

.checkout-content[b-fc83ye38gt] {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section[b-fc83ye38gt] {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section h2[b-fc83ye38gt] {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #00a046;
    padding-bottom: 10px;
}

.form-grid[b-fc83ye38gt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width[b-fc83ye38gt] {
    grid-column: 1 / -1;
}

.form-group label[b-fc83ye38gt] {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.form-group input[b-fc83ye38gt],
.form-group textarea[b-fc83ye38gt] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus[b-fc83ye38gt],
.form-group textarea:focus[b-fc83ye38gt] {
    outline: none;
    border-color: #00a046;
    box-shadow: 0 0 0 3px rgba(0, 160, 70, 0.1);
}

.form-group textarea[b-fc83ye38gt] {
    min-height: 80px;
    resize: vertical;
}

.checkbox-group label[b-fc83ye38gt] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"][b-fc83ye38gt] {
    width: 18px;
    height: 18px;
    accent-color: #00a046;
}

/* Payment options */
.payment-options[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option[b-fc83ye38gt] {
    display: block;
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.payment-option:hover[b-fc83ye38gt] {
    border-color: #aaa;
}

.payment-option.selected[b-fc83ye38gt] {
    border-color: #00a046;
    background: rgba(0, 160, 70, 0.05);
}

.payment-option input[b-fc83ye38gt] {
    display: none;
}

.payment-content[b-fc83ye38gt] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-content svg[b-fc83ye38gt] {
    color: #00a046;
    flex-shrink: 0;
}

.payment-content div[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-content strong[b-fc83ye38gt] {
    color: #333;
}

.payment-content span[b-fc83ye38gt] {
    font-size: 0.85rem;
    color: #666;
}

/* Checkout summary */
.checkout-summary[b-fc83ye38gt] {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.checkout-summary h3[b-fc83ye38gt] {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #00a046;
    padding-bottom: 10px;
}

.summary-items[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item[b-fc83ye38gt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.summary-item .item-info[b-fc83ye38gt] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.summary-item img[b-fc83ye38gt] {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    background: #f5f5f5;
}

.summary-item .item-name[b-fc83ye38gt] {
    font-size: 0.9rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary-item .item-qty[b-fc83ye38gt] {
    font-size: 0.8rem;
    color: #666;
}

.summary-item .item-price[b-fc83ye38gt] {
    font-weight: 600;
    white-space: nowrap;
}

.summary-totals[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.summary-row[b-fc83ye38gt] {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.summary-row .free[b-fc83ye38gt] {
    color: #00a046;
    font-weight: 500;
}

.summary-total[b-fc83ye38gt] {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    padding-top: 12px;
    border-top: 2px solid #eee;
}

.btn-submit-order[b-fc83ye38gt] {
    width: 100%;
    padding: 16px;
    background: #00a046;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order:hover:not(:disabled)[b-fc83ye38gt] {
    background: #008c3c;
}

.btn-submit-order:disabled[b-fc83ye38gt] {
    background: #ccc;
    cursor: not-allowed;
}

.btn-submit-order .spinner[b-fc83ye38gt] {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-b-fc83ye38gt 1s linear infinite;
}

@keyframes spin-b-fc83ye38gt {
    to { transform: rotate(360deg); }
}

.btn-back-to-cart[b-fc83ye38gt] {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-back-to-cart:hover[b-fc83ye38gt] {
    color: #00a046;
}

/* Error message */
.error-message[b-fc83ye38gt] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c00;
}

.error-message svg[b-fc83ye38gt] {
    flex-shrink: 0;
}

/* Saved addresses */
.saved-addresses[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saved-address-card[b-fc83ye38gt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.saved-address-card:hover[b-fc83ye38gt] {
    border-color: #aaa;
}

.saved-address-card.selected[b-fc83ye38gt] {
    border-color: #00a046;
    background: rgba(0, 160, 70, 0.05);
}

.saved-address-info[b-fc83ye38gt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.saved-address-info strong[b-fc83ye38gt] {
    color: #333;
    font-size: 0.95rem;
}

.saved-address-info span[b-fc83ye38gt] {
    color: #666;
    font-size: 0.85rem;
}

.btn-delete-address[b-fc83ye38gt] {
    background: none;
    border: none;
    color: #c00;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-delete-address:hover[b-fc83ye38gt] {
    background: #fee;
}

.btn-new-address[b-fc83ye38gt] {
    padding: 12px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: none;
    color: #00a046;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-new-address:hover[b-fc83ye38gt] {
    border-color: #00a046;
    background: rgba(0, 160, 70, 0.03);
}

.save-address-option[b-fc83ye38gt] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.save-address-option label[b-fc83ye38gt] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.save-address-option input[type="checkbox"][b-fc83ye38gt] {
    width: 18px;
    height: 18px;
    accent-color: #00a046;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-content[b-fc83ye38gt] {
        grid-template-columns: 1fr;
    }

    .checkout-summary[b-fc83ye38gt] {
        position: static;
        order: -1;
    }
}

@media (max-width: 600px) {
    .form-grid[b-fc83ye38gt] {
        grid-template-columns: 1fr;
    }
}
/* _content/WebshopB2C.Web/Components/Pages/OrderConfirmation.razor.rz.scp.css */
.order-confirmation-page[b-zzc58d4zci] {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.confirmation-container[b-zzc58d4zci] {
    background: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.success-icon[b-zzc58d4zci] {
    margin-bottom: 24px;
}

.success-icon svg[b-zzc58d4zci] {
    color: #00a046;
}

.confirmation-container h1[b-zzc58d4zci] {
    color: #333;
    margin-bottom: 24px;
    font-size: 2rem;
}

.order-number[b-zzc58d4zci] {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.order-number span[b-zzc58d4zci] {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.order-number strong[b-zzc58d4zci] {
    font-size: 1.5rem;
    color: #00a046;
    letter-spacing: 2px;
}

.confirmation-message[b-zzc58d4zci] {
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
}

.confirmation-message p[b-zzc58d4zci] {
    margin-bottom: 12px;
}

.next-steps[b-zzc58d4zci] {
    text-align: left;
    margin-bottom: 32px;
}

.next-steps h2[b-zzc58d4zci] {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 16px;
}

.next-steps ul[b-zzc58d4zci] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li[b-zzc58d4zci] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.next-steps li:last-child[b-zzc58d4zci] {
    border-bottom: none;
}

.next-steps li svg[b-zzc58d4zci] {
    color: #00a046;
    flex-shrink: 0;
}

.actions[b-zzc58d4zci] {
    display: flex;
    justify-content: center;
}

.btn-primary[b-zzc58d4zci] {
    display: inline-block;
    padding: 14px 32px;
    background: #00a046;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover[b-zzc58d4zci] {
    background: #008c3c;
}

@media (max-width: 600px) {
    .confirmation-container[b-zzc58d4zci] {
        padding: 24px;
        margin: 0 16px;
    }

    .confirmation-container h1[b-zzc58d4zci] {
        font-size: 1.5rem;
    }

    .order-number strong[b-zzc58d4zci] {
        font-size: 1.2rem;
    }
}
