/* filepath: website_sale_aplicoop/static/src/css/components/buttons.css */

/**
 * Button and action component styles
 */

.btn-add-to-cart {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-add-to-cart:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-checkout:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary,
.btn-success {
    font-weight: 600;
}

.btn-primary:disabled,
.btn-success:disabled {
    opacity: 0.65;
}

/* Checkout action buttons */
.checkout-actions {
    margin-top: 2rem;
}

.checkout-actions .btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-actions .btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.checkout-actions .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
}

.checkout-actions .btn-outline-secondary {
    color: #ebeef0;
    border-color: #cad2d8;
}

.checkout-actions .btn-outline-secondary:hover {
    color: white;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.checkout-actions .btn i {
    margin-right: 0.5rem;
}

.save-order-btn,
.save-order-btn-styled,
.checkout-btn-lg {
    white-space: nowrap;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
}

.save-icon-size {
    font-size: 1.2rem;
}
